Interface CreateScanResponse.Builder

    • Method Detail

      • resourceId

        CreateScanResponse.Builder resourceId​(ResourceId resourceId)

        The identifier for the resource object that contains resources that were scanned.

        Parameters:
        resourceId - The identifier for the resource object that contains resources that were scanned.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runId

        CreateScanResponse.Builder runId​(String runId)

        UUID that identifies the individual scan run.

        Parameters:
        runId - UUID that identifies the individual scan run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scanName

        CreateScanResponse.Builder scanName​(String scanName)

        The name of the scan.

        Parameters:
        scanName - The name of the scan.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scanNameArn

        CreateScanResponse.Builder scanNameArn​(String scanNameArn)

        The ARN for the scan name.

        Parameters:
        scanNameArn - The ARN for the scan name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scanState

        CreateScanResponse.Builder scanState​(String scanState)

        The current state of the scan. Returns either InProgress, Successful, or Failed.

        Parameters:
        scanState - The current state of the scan. Returns either InProgress, Successful, or Failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanState, ScanState
      • scanState

        CreateScanResponse.Builder scanState​(ScanState scanState)

        The current state of the scan. Returns either InProgress, Successful, or Failed.

        Parameters:
        scanState - The current state of the scan. Returns either InProgress, Successful, or Failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanState, ScanState