ToCopyableBuilder<NodeGroupConfiguration.Builder,NodeGroupConfiguration>
@Generated("software.amazon.awssdk:codegen") public 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 | Description |
---|---|---|
static interface |
NodeGroupConfiguration.Builder |
Modifier and Type | Method | Description |
---|---|---|
static NodeGroupConfiguration.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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() |
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.
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.