Interface CoverageResource.Builder

  • Method Details

    • resourceId

      CoverageResource.Builder resourceId(String resourceId)

      The unique ID of the resource.

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

      CoverageResource.Builder detectorId(String detectorId)

      The unique ID of the GuardDuty detector associated with the resource.

      Parameters:
      detectorId - The unique ID of the GuardDuty detector associated with the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      CoverageResource.Builder accountId(String accountId)

      The unique ID of the Amazon Web Services account.

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

      CoverageResource.Builder resourceDetails(CoverageResourceDetails resourceDetails)

      Information about the resource for which the coverage statistics are retrieved.

      Parameters:
      resourceDetails - Information about the resource for which the coverage statistics are retrieved.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceDetails

      default CoverageResource.Builder resourceDetails(Consumer<CoverageResourceDetails.Builder> resourceDetails)

      Information about the resource for which the coverage statistics are retrieved.

      This is a convenience method that creates an instance of the CoverageResourceDetails.Builder avoiding the need to create one manually via CoverageResourceDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceDetails(CoverageResourceDetails).

      Parameters:
      resourceDetails - a consumer that will call methods on CoverageResourceDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • coverageStatus

      CoverageResource.Builder coverageStatus(String coverageStatus)

      Represents the status of the EKS cluster coverage.

      Parameters:
      coverageStatus - Represents the status of the EKS cluster coverage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • coverageStatus

      CoverageResource.Builder coverageStatus(CoverageStatus coverageStatus)

      Represents the status of the EKS cluster coverage.

      Parameters:
      coverageStatus - Represents the status of the EKS cluster coverage.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • issue

      Represents the reason why a coverage status was UNHEALTHY for the EKS cluster.

      Parameters:
      issue - Represents the reason why a coverage status was UNHEALTHY for the EKS cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      CoverageResource.Builder updatedAt(Instant updatedAt)

      The timestamp at which the coverage details for the resource were last updated. This is in UTC format.

      Parameters:
      updatedAt - The timestamp at which the coverage details for the resource were last updated. This is in UTC format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.