@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegionsInfo extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the Regions that are configured for multi-Region replication.
Constructor and Description |
---|
RegionsInfo() |
Modifier and Type | Method and Description |
---|---|
RegionsInfo |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdditionalRegions()
Lists the Regions where the directory has been replicated, excluding the primary Region.
|
String |
getPrimaryRegion()
The Region where the Managed Microsoft AD directory was originally created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalRegions(Collection<String> additionalRegions)
Lists the Regions where the directory has been replicated, excluding the primary Region.
|
void |
setPrimaryRegion(String primaryRegion)
The Region where the Managed Microsoft AD directory was originally created.
|
String |
toString()
Returns a string representation of this object.
|
RegionsInfo |
withAdditionalRegions(Collection<String> additionalRegions)
Lists the Regions where the directory has been replicated, excluding the primary Region.
|
RegionsInfo |
withAdditionalRegions(String... additionalRegions)
Lists the Regions where the directory has been replicated, excluding the primary Region.
|
RegionsInfo |
withPrimaryRegion(String primaryRegion)
The Region where the Managed Microsoft AD directory was originally created.
|
public void setPrimaryRegion(String primaryRegion)
The Region where the Managed Microsoft AD directory was originally created.
primaryRegion
- The Region where the Managed Microsoft AD directory was originally created.public String getPrimaryRegion()
The Region where the Managed Microsoft AD directory was originally created.
public RegionsInfo withPrimaryRegion(String primaryRegion)
The Region where the Managed Microsoft AD directory was originally created.
primaryRegion
- The Region where the Managed Microsoft AD directory was originally created.public List<String> getAdditionalRegions()
Lists the Regions where the directory has been replicated, excluding the primary Region.
public void setAdditionalRegions(Collection<String> additionalRegions)
Lists the Regions where the directory has been replicated, excluding the primary Region.
additionalRegions
- Lists the Regions where the directory has been replicated, excluding the primary Region.public RegionsInfo withAdditionalRegions(String... additionalRegions)
Lists the Regions where the directory has been replicated, excluding the primary Region.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalRegions(java.util.Collection)
or withAdditionalRegions(java.util.Collection)
if
you want to override the existing values.
additionalRegions
- Lists the Regions where the directory has been replicated, excluding the primary Region.public RegionsInfo withAdditionalRegions(Collection<String> additionalRegions)
Lists the Regions where the directory has been replicated, excluding the primary Region.
additionalRegions
- Lists the Regions where the directory has been replicated, excluding the primary Region.public String toString()
toString
in class Object
Object.toString()
public RegionsInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.