Interface ClusterDetails.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ClusterDetails.Builder,,- ClusterDetails> - SdkBuilder<ClusterDetails.Builder,,- ClusterDetails> - SdkPojo
- Enclosing class:
- ClusterDetails
@Mutable
@NotThreadSafe
public static interface ClusterDetails.Builder
extends SdkPojo, CopyableBuilder<ClusterDetails.Builder,ClusterDetails> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault ClusterDetails.BuilderclusterMetadata(Consumer<ClusterMetadata.Builder> clusterMetadata) Sets the value of the ClusterMetadata property for this object.clusterMetadata(ClusterMetadata clusterMetadata) Sets the value of the ClusterMetadata property for this object.The last timestamp when Amazon Inspector recorded the image in use in the task or pod in the cluster.runningUnitCount(Long runningUnitCount) The number of tasks or pods where an image was running on the cluster.stoppedUnitCount(Long stoppedUnitCount) The number of tasks or pods where an image was stopped on the cluster in the last 24 hours.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
lastInUseThe last timestamp when Amazon Inspector recorded the image in use in the task or pod in the cluster. - Parameters:
- lastInUse- The last timestamp when Amazon Inspector recorded the image in use in the task or pod in the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
runningUnitCountThe number of tasks or pods where an image was running on the cluster. - Parameters:
- runningUnitCount- The number of tasks or pods where an image was running on the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
stoppedUnitCountThe number of tasks or pods where an image was stopped on the cluster in the last 24 hours. - Parameters:
- stoppedUnitCount- The number of tasks or pods where an image was stopped on the cluster in the last 24 hours.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clusterMetadataSets the value of the ClusterMetadata property for this object.- Parameters:
- clusterMetadata- The new value for the ClusterMetadata property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clusterMetadataSets the value of the ClusterMetadata property for this object. This is a convenience method that creates an instance of theClusterMetadata.Builderavoiding the need to create one manually viaClusterMetadata.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterMetadata(ClusterMetadata).- Parameters:
- clusterMetadata- a consumer that will call methods on- ClusterMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-