@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReshardingConfiguration extends Object implements Serializable, Cloneable
A list of PreferredAvailabilityZones objects that specifies the configuration of a node group in the
resharded cluster.
| Constructor and Description |
|---|
ReshardingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ReshardingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getNodeGroupId()
Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these
configuration values apply to.
|
List<String> |
getPreferredAvailabilityZones()
A list of preferred availability zones for the nodes in this cluster.
|
int |
hashCode() |
void |
setNodeGroupId(String nodeGroupId)
Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these
configuration values apply to.
|
void |
setPreferredAvailabilityZones(Collection<String> preferredAvailabilityZones)
A list of preferred availability zones for the nodes in this cluster.
|
String |
toString()
Returns a string representation of this object.
|
ReshardingConfiguration |
withNodeGroupId(String nodeGroupId)
Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these
configuration values apply to.
|
ReshardingConfiguration |
withPreferredAvailabilityZones(Collection<String> preferredAvailabilityZones)
A list of preferred availability zones for the nodes in this cluster.
|
ReshardingConfiguration |
withPreferredAvailabilityZones(String... preferredAvailabilityZones)
A list of preferred availability zones for the nodes in this cluster.
|
public void setNodeGroupId(String nodeGroupId)
Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
nodeGroupId - Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these
configuration values apply to.public String getNodeGroupId()
Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
public ReshardingConfiguration withNodeGroupId(String nodeGroupId)
Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these configuration values apply to.
nodeGroupId - Either the ElastiCache (Redis OSS) supplied 4-digit id or a user supplied id for the node group these
configuration values apply to.public List<String> getPreferredAvailabilityZones()
A list of preferred availability zones for the nodes in this cluster.
public void setPreferredAvailabilityZones(Collection<String> preferredAvailabilityZones)
A list of preferred availability zones for the nodes in this cluster.
preferredAvailabilityZones - A list of preferred availability zones for the nodes in this cluster.public ReshardingConfiguration withPreferredAvailabilityZones(String... preferredAvailabilityZones)
A list of preferred availability zones for the nodes in this cluster.
NOTE: This method appends the values to the existing list (if any). Use
setPreferredAvailabilityZones(java.util.Collection) or
withPreferredAvailabilityZones(java.util.Collection) if you want to override the existing values.
preferredAvailabilityZones - A list of preferred availability zones for the nodes in this cluster.public ReshardingConfiguration withPreferredAvailabilityZones(Collection<String> preferredAvailabilityZones)
A list of preferred availability zones for the nodes in this cluster.
preferredAvailabilityZones - A list of preferred availability zones for the nodes in this cluster.public String toString()
toString in class ObjectObject.toString()public ReshardingConfiguration clone()