Interface CoveredResource.Builder

    • Method Detail

      • accountId

        CoveredResource.Builder accountId​(String accountId)

        The Amazon Web Services account ID of the covered resource.

        Parameters:
        accountId - The Amazon Web Services account ID of the covered resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastScannedAt

        CoveredResource.Builder lastScannedAt​(Instant lastScannedAt)

        The date and time the resource was last checked for vulnerabilities.

        Parameters:
        lastScannedAt - The date and time the resource was last checked for vulnerabilities.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceId

        CoveredResource.Builder resourceId​(String resourceId)

        The ID of the covered resource.

        Parameters:
        resourceId - The ID of the covered resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceMetadata

        CoveredResource.Builder resourceMetadata​(ResourceScanMetadata resourceMetadata)

        An object that contains details about the metadata.

        Parameters:
        resourceMetadata - An object that contains details about the metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scanMode

        CoveredResource.Builder scanMode​(String scanMode)

        The scan method that is applied to the instance.

        Parameters:
        scanMode - The scan method that is applied to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanMode, ScanMode
      • scanMode

        CoveredResource.Builder scanMode​(ScanMode scanMode)

        The scan method that is applied to the instance.

        Parameters:
        scanMode - The scan method that is applied to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanMode, ScanMode
      • scanStatus

        CoveredResource.Builder scanStatus​(ScanStatus scanStatus)

        The status of the scan covering the resource.

        Parameters:
        scanStatus - The status of the scan covering the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scanType

        CoveredResource.Builder scanType​(String scanType)

        The Amazon Inspector scan type covering the resource.

        Parameters:
        scanType - The Amazon Inspector scan type covering the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanType, ScanType
      • scanType

        CoveredResource.Builder scanType​(ScanType scanType)

        The Amazon Inspector scan type covering the resource.

        Parameters:
        scanType - The Amazon Inspector scan type covering the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScanType, ScanType