Interface SecondaryClusterInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecondaryClusterInfo.Builder,SecondaryClusterInfo>,SdkBuilder<SecondaryClusterInfo.Builder,SecondaryClusterInfo>,SdkPojo
- Enclosing class:
- SecondaryClusterInfo
public static interface SecondaryClusterInfo.Builder extends SdkPojo, CopyableBuilder<SecondaryClusterInfo.Builder,SecondaryClusterInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecondaryClusterInfo.BuilderavailabilityZone(String availabilityZone)The name of the Availability Zone in which the secondary compute unit of the cluster is located.SecondaryClusterInfo.BuilderclusterNodes(Collection<ClusterNode> clusterNodes)The nodes in the secondary compute unit.SecondaryClusterInfo.BuilderclusterNodes(Consumer<ClusterNode.Builder>... clusterNodes)The nodes in the secondary compute unit.SecondaryClusterInfo.BuilderclusterNodes(ClusterNode... clusterNodes)The nodes in the secondary compute unit.-
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
-
availabilityZone
SecondaryClusterInfo.Builder availabilityZone(String 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
SecondaryClusterInfo.Builder clusterNodes(Collection<ClusterNode> 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
SecondaryClusterInfo.Builder clusterNodes(ClusterNode... 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
SecondaryClusterInfo.Builder clusterNodes(Consumer<ClusterNode.Builder>... 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 to#clusterNodes(List.) - 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:
#clusterNodes(java.util.Collection)
-
-