@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegionalConfiguration extends Object implements Serializable, Cloneable
A list of the replication groups
Constructor and Description |
---|
RegionalConfiguration() |
Modifier and Type | Method and Description |
---|---|
RegionalConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getReplicationGroupId()
The name of the secondary cluster
|
String |
getReplicationGroupRegion()
The Amazon region where the cluster is stored
|
List<ReshardingConfiguration> |
getReshardingConfiguration()
A list of
PreferredAvailabilityZones objects that specifies the configuration of a node group in the
resharded cluster. |
int |
hashCode() |
void |
setReplicationGroupId(String replicationGroupId)
The name of the secondary cluster
|
void |
setReplicationGroupRegion(String replicationGroupRegion)
The Amazon region where the cluster is stored
|
void |
setReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
A list of
PreferredAvailabilityZones objects that specifies the configuration of a node group in the
resharded cluster. |
String |
toString()
Returns a string representation of this object.
|
RegionalConfiguration |
withReplicationGroupId(String replicationGroupId)
The name of the secondary cluster
|
RegionalConfiguration |
withReplicationGroupRegion(String replicationGroupRegion)
The Amazon region where the cluster is stored
|
RegionalConfiguration |
withReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
A list of
PreferredAvailabilityZones objects that specifies the configuration of a node group in the
resharded cluster. |
RegionalConfiguration |
withReshardingConfiguration(ReshardingConfiguration... reshardingConfiguration)
A list of
PreferredAvailabilityZones objects that specifies the configuration of a node group in the
resharded cluster. |
public void setReplicationGroupId(String replicationGroupId)
The name of the secondary cluster
replicationGroupId
- The name of the secondary clusterpublic String getReplicationGroupId()
The name of the secondary cluster
public RegionalConfiguration withReplicationGroupId(String replicationGroupId)
The name of the secondary cluster
replicationGroupId
- The name of the secondary clusterpublic void setReplicationGroupRegion(String replicationGroupRegion)
The Amazon region where the cluster is stored
replicationGroupRegion
- The Amazon region where the cluster is storedpublic String getReplicationGroupRegion()
The Amazon region where the cluster is stored
public RegionalConfiguration withReplicationGroupRegion(String replicationGroupRegion)
The Amazon region where the cluster is stored
replicationGroupRegion
- The Amazon region where the cluster is storedpublic List<ReshardingConfiguration> getReshardingConfiguration()
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the
resharded cluster.
PreferredAvailabilityZones
objects that specifies the configuration of a node
group in the resharded cluster.public void setReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the
resharded cluster.
reshardingConfiguration
- A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group
in the resharded cluster.public RegionalConfiguration withReshardingConfiguration(ReshardingConfiguration... reshardingConfiguration)
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the
resharded cluster.
NOTE: This method appends the values to the existing list (if any). Use
setReshardingConfiguration(java.util.Collection)
or
withReshardingConfiguration(java.util.Collection)
if you want to override the existing values.
reshardingConfiguration
- A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group
in the resharded cluster.public RegionalConfiguration withReshardingConfiguration(Collection<ReshardingConfiguration> reshardingConfiguration)
A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group in the
resharded cluster.
reshardingConfiguration
- A list of PreferredAvailabilityZones
objects that specifies the configuration of a node group
in the resharded cluster.public String toString()
toString
in class Object
Object.toString()
public RegionalConfiguration clone()