Interface NodeGroupConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<NodeGroupConfiguration.Builder,NodeGroupConfiguration>
,SdkBuilder<NodeGroupConfiguration.Builder,NodeGroupConfiguration>
,SdkPojo
- Enclosing class:
- NodeGroupConfiguration
public static interface NodeGroupConfiguration.Builder extends SdkPojo, CopyableBuilder<NodeGroupConfiguration.Builder,NodeGroupConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeGroupConfiguration.Builder
nodeGroupId(String nodeGroupId)
Either the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.NodeGroupConfiguration.Builder
primaryAvailabilityZone(String primaryAvailabilityZone)
The Availability Zone where the primary node of this node group (shard) is launched.NodeGroupConfiguration.Builder
primaryOutpostArn(String primaryOutpostArn)
The outpost ARN of the primary node.NodeGroupConfiguration.Builder
replicaAvailabilityZones(String... replicaAvailabilityZones)
A list of Availability Zones to be used for the read replicas.NodeGroupConfiguration.Builder
replicaAvailabilityZones(Collection<String> replicaAvailabilityZones)
A list of Availability Zones to be used for the read replicas.NodeGroupConfiguration.Builder
replicaCount(Integer replicaCount)
The number of read replica nodes in this node group (shard).NodeGroupConfiguration.Builder
replicaOutpostArns(String... replicaOutpostArns)
The outpost ARN of the node replicas.NodeGroupConfiguration.Builder
replicaOutpostArns(Collection<String> replicaOutpostArns)
The outpost ARN of the node replicas.NodeGroupConfiguration.Builder
slots(String slots)
A string that specifies the keyspace for a particular node group.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
nodeGroupId
NodeGroupConfiguration.Builder nodeGroupId(String nodeGroupId)
Either the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
- Parameters:
nodeGroupId
- Either the ElastiCache supplied 4-digit id or a user supplied id for the node group these configuration values apply to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slots
NodeGroupConfiguration.Builder slots(String slots)
A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the format
startkey-endkey
.Example:
"0-3999"
- Parameters:
slots
- A string that specifies the keyspace for a particular node group. Keyspaces range from 0 to 16,383. The string is in the formatstartkey-endkey
.Example:
"0-3999"
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaCount
NodeGroupConfiguration.Builder replicaCount(Integer replicaCount)
The number of read replica nodes in this node group (shard).
- Parameters:
replicaCount
- The number of read replica nodes in this node group (shard).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryAvailabilityZone
NodeGroupConfiguration.Builder primaryAvailabilityZone(String primaryAvailabilityZone)
The Availability Zone where the primary node of this node group (shard) is launched.
- Parameters:
primaryAvailabilityZone
- The Availability Zone where the primary node of this node group (shard) is launched.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaAvailabilityZones
NodeGroupConfiguration.Builder replicaAvailabilityZones(Collection<String> replicaAvailabilityZones)
A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of
ReplicaCount
orReplicasPerNodeGroup
if not specified.- Parameters:
replicaAvailabilityZones
- A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value ofReplicaCount
orReplicasPerNodeGroup
if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaAvailabilityZones
NodeGroupConfiguration.Builder replicaAvailabilityZones(String... replicaAvailabilityZones)
A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value of
ReplicaCount
orReplicasPerNodeGroup
if not specified.- Parameters:
replicaAvailabilityZones
- A list of Availability Zones to be used for the read replicas. The number of Availability Zones in this list must match the value ofReplicaCount
orReplicasPerNodeGroup
if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryOutpostArn
NodeGroupConfiguration.Builder primaryOutpostArn(String primaryOutpostArn)
The outpost ARN of the primary node.
- Parameters:
primaryOutpostArn
- The outpost ARN of the primary node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaOutpostArns
NodeGroupConfiguration.Builder replicaOutpostArns(Collection<String> replicaOutpostArns)
The outpost ARN of the node replicas.
- Parameters:
replicaOutpostArns
- The outpost ARN of the node replicas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicaOutpostArns
NodeGroupConfiguration.Builder replicaOutpostArns(String... replicaOutpostArns)
The outpost ARN of the node replicas.
- Parameters:
replicaOutpostArns
- The outpost ARN of the node replicas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-