@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Region extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon Web Services Region in which Amazon Web Services Control Tower expects to find the control deployed.
The expected Regions are based on the Regions that are governed by the landing zone. In certain cases, a control is not actually enabled in the Region as expected, such as during drift, or mixed governance.
| Constructor and Description |
|---|
Region() |
| Modifier and Type | Method and Description |
|---|---|
Region |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The Amazon Web Services Region name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The Amazon Web Services Region name.
|
String |
toString()
Returns a string representation of this object.
|
Region |
withName(String name)
The Amazon Web Services Region name.
|
public void setName(String name)
The Amazon Web Services Region name.
name - The Amazon Web Services Region name.public String getName()
The Amazon Web Services Region name.
public Region withName(String name)
The Amazon Web Services Region name.
name - The Amazon Web Services Region name.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.