Interface ClusterInformation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterInformation.Builder,,ClusterInformation> SdkBuilder<ClusterInformation.Builder,,ClusterInformation> SdkPojo
- Enclosing class:
ClusterInformation
@Mutable
@NotThreadSafe
public static interface ClusterInformation.Builder
extends SdkPojo, CopyableBuilder<ClusterInformation.Builder,ClusterInformation>
-
Method Summary
Modifier and TypeMethodDescriptionclusterArn(String clusterArn) The cluster ARN.clusterDetails(Collection<ClusterDetails> clusterDetails) Details about the cluster.clusterDetails(Consumer<ClusterDetails.Builder>... clusterDetails) Details about the cluster.clusterDetails(ClusterDetails... clusterDetails) Details about the cluster.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, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterArn
The cluster ARN.
- Parameters:
clusterArn- The cluster ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDetails
Details about the cluster.
- Parameters:
clusterDetails- Details about the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDetails
Details about the cluster.
- Parameters:
clusterDetails- Details about the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterDetails
Details about the cluster.
This is a convenience method that creates an instance of theClusterDetails.Builderavoiding the need to create one manually viaClusterDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterDetails(List<ClusterDetails>).- Parameters:
clusterDetails- a consumer that will call methods onClusterDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-