@Generated(value="software.amazon.awssdk:codegen") public final class NodeGroupConfiguration extends Object implements ToCopyableBuilder<NodeGroupConfiguration.Builder,NodeGroupConfiguration>
Node group (shard) configuration options. Each node group (shard) configuration has the following: Slots
, PrimaryAvailabilityZone
, ReplicaAvailabilityZones
, ReplicaCount
.
Modifier and Type | Class and Description |
---|---|
static interface |
NodeGroupConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static NodeGroupConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
primaryAvailabilityZone()
The Availability Zone where the primary node of this node group (shard) is launched.
|
List<String> |
replicaAvailabilityZones()
A list of Availability Zones to be used for the read replicas.
|
Integer |
replicaCount()
The number of read replica nodes in this node group (shard).
|
static Class<? extends NodeGroupConfiguration.Builder> |
serializableBuilderClass() |
String |
slots()
A string that specifies the keyspace for a particular node group.
|
NodeGroupConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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"
startkey-endkey
.
Example: "0-3999"
public Integer replicaCount()
The number of read replica nodes in this node group (shard).
public String primaryAvailabilityZone()
The Availability Zone where the primary node of this node group (shard) is launched.
public List<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
or ReplicasPerNodeGroup
if not specified.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
ReplicaCount
or ReplicasPerNodeGroup
if not
specified.public NodeGroupConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NodeGroupConfiguration.Builder,NodeGroupConfiguration>
public static NodeGroupConfiguration.Builder builder()
public static Class<? extends NodeGroupConfiguration.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.