Class HomeRegionControl
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubconfig.model.HomeRegionControl
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HomeRegionControl.Builder,HomeRegionControl>
@Generated("software.amazon.awssdk:codegen") public final class HomeRegionControl extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HomeRegionControl.Builder,HomeRegionControl>
A home region control is an object that specifies the home region for an account, with some additional information. It contains a target (always of type
ACCOUNT), an ID, and a time at which the home region was set.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHomeRegionControl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HomeRegionControl.Builderbuilder()StringcontrolId()A unique identifier that's generated for each home region control.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhomeRegion()The AWS Region that's been set as home region.InstantrequestedTime()A timestamp representing the time when the customer calledCreateHomeregionControland set the home region for the account.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends HomeRegionControl.Builder>serializableBuilderClass()Targettarget()The target parameter specifies the identifier to which the home region is applied, which is always anACCOUNT.HomeRegionControl.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
-
controlId
public final String controlId()
A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.
- Returns:
- A unique identifier that's generated for each home region control. It's always a string that begins with "hrc-" followed by 12 lowercase letters and numbers.
-
homeRegion
public final String homeRegion()
The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.
- Returns:
- The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.
-
target
public final Target target()
The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT. It applies the home region to the currentACCOUNT.- Returns:
- The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT. It applies the home region to the currentACCOUNT.
-
requestedTime
public final Instant requestedTime()
A timestamp representing the time when the customer called
CreateHomeregionControland set the home region for the account.- Returns:
- A timestamp representing the time when the customer called
CreateHomeregionControland set the home region for the account.
-
toBuilder
public HomeRegionControl.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HomeRegionControl.Builder,HomeRegionControl>
-
builder
public static HomeRegionControl.Builder builder()
-
serializableBuilderClass
public static Class<? extends HomeRegionControl.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-