Class Region
- java.lang.Object
-
- software.amazon.awssdk.services.controltower.model.Region
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Region.Builder,Region>
@Generated("software.amazon.awssdk:codegen") public final class Region extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Region.Builder,Region>
An AWS Region in which AWS 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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Region.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The AWS Region name.List<SdkField<?>>sdkFields()static Class<? extends Region.Builder>serializableBuilderClass()Region.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The AWS Region name.
- Returns:
- The AWS Region name.
-
toBuilder
public Region.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Region.Builder,Region>
-
builder
public static Region.Builder builder()
-
serializableBuilderClass
public static Class<? extends Region.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-