Interface CoverageResource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CoverageResource.Builder,CoverageResource>,SdkBuilder<CoverageResource.Builder,CoverageResource>,SdkPojo
- Enclosing class:
- CoverageResource
public static interface CoverageResource.Builder extends SdkPojo, CopyableBuilder<CoverageResource.Builder,CoverageResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CoverageResource.BuilderaccountId(String accountId)The unique ID of the Amazon Web Services account.CoverageResource.BuildercoverageStatus(String coverageStatus)Represents the status of the EKS cluster coverage.CoverageResource.BuildercoverageStatus(CoverageStatus coverageStatus)Represents the status of the EKS cluster coverage.CoverageResource.BuilderdetectorId(String detectorId)The unique ID of the GuardDuty detector associated with the resource.CoverageResource.Builderissue(String issue)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.CoverageResource.BuilderresourceDetails(CoverageResourceDetails resourceDetails)Information about the resource for which the coverage statistics are retrieved.CoverageResource.BuilderresourceId(String resourceId)The unique ID of the resource.CoverageResource.BuilderupdatedAt(Instant updatedAt)The timestamp at which the coverage details for the resource were last updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 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:
resourceDetails(CoverageResourceDetails)
-
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,CoverageStatus
-
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:
CoverageStatus,CoverageStatus
-
issue
CoverageResource.Builder issue(String 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
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.
-
-