Interface SecondaryClusterInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SecondaryClusterInfo.Builder,,SecondaryClusterInfo> SdkBuilder<SecondaryClusterInfo.Builder,,SecondaryClusterInfo> SdkPojo
- Enclosing class:
SecondaryClusterInfo
@Mutable
@NotThreadSafe
public static interface SecondaryClusterInfo.Builder
extends SdkPojo, CopyableBuilder<SecondaryClusterInfo.Builder,SecondaryClusterInfo>
-
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) The name of the Availability Zone in which the secondary compute unit of the cluster is located.clusterNodes(Collection<ClusterNode> clusterNodes) The nodes in the secondary compute unit.clusterNodes(Consumer<ClusterNode.Builder>... clusterNodes) The nodes in the secondary compute unit.clusterNodes(ClusterNode... clusterNodes) The nodes in the secondary compute unit.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
-
availabilityZone
The name of the Availability Zone in which the secondary compute unit of the cluster is located.
- Parameters:
availabilityZone- The name of the Availability Zone in which the secondary compute unit of the cluster is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterNodes
The nodes in the secondary compute unit.
- Parameters:
clusterNodes- The nodes in the secondary compute unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterNodes
The nodes in the secondary compute unit.
- Parameters:
clusterNodes- The nodes in the secondary compute unit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterNodes
The nodes in the secondary compute unit.
This is a convenience method that creates an instance of theClusterNode.Builderavoiding the need to create one manually viaClusterNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclusterNodes(List<ClusterNode>).- Parameters:
clusterNodes- a consumer that will call methods onClusterNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-