@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) |
List<String> |
getPreferredAvailabilityZones()
A list of preferred availability zones for the nodes in this cluster.
|
int |
hashCode() |
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; useful for testing and debugging.
|
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 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 Object
Object.toString()
public ReshardingConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.