Interface CoverageResource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CoverageResource.Builder,,CoverageResource> SdkBuilder<CoverageResource.Builder,,CoverageResource> SdkPojo
- Enclosing class:
CoverageResource
-
Method Summary
Modifier and TypeMethodDescriptionThe unique ID of the Amazon Web Services account.coverageStatus(String coverageStatus) Represents the status of the EKS cluster coverage.coverageStatus(CoverageStatus coverageStatus) Represents the status of the EKS cluster coverage.detectorId(String detectorId) The unique ID of the GuardDuty detector associated with the resource.Represents the reason why a coverage status wasUNHEALTHYfor the EKS cluster.default CoverageResource.BuilderresourceDetails(Consumer<CoverageResourceDetails.Builder> resourceDetails) Information about the resource for which the coverage statistics are retrieved.resourceDetails(CoverageResourceDetails resourceDetails) Information about the resource for which the coverage statistics are retrieved.resourceId(String resourceId) The unique ID of the resource.The timestamp at which the coverage details for the resource were last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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 theCoverageResourceDetails.Builderavoiding the need to create one manually viaCoverageResourceDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceDetails(CoverageResourceDetails).- Parameters:
resourceDetails- a consumer that will call methods onCoverageResourceDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
UNHEALTHYfor the EKS cluster.- Parameters:
issue- Represents the reason why a coverage status wasUNHEALTHYfor the EKS cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-