@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HomeRegionControl.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HomeRegionControl.Builder |
builder() |
String |
controlId()
A unique identifier that's generated for each home region control.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
homeRegion()
The AWS Region that's been set as home region.
|
Instant |
requestedTime()
A timestamp representing the time when the customer called
CreateHomeregionControl and set the home
region for the account. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HomeRegionControl.Builder> |
serializableBuilderClass() |
Target |
target()
The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT. |
HomeRegionControl.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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.
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 current ACCOUNT.
ACCOUNT. It applies the home region to the current ACCOUNT.public final Instant requestedTime()
A timestamp representing the time when the customer called CreateHomeregionControl and set the home
region for the account.
CreateHomeregionControl and set
the home region for the account.public HomeRegionControl.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HomeRegionControl.Builder,HomeRegionControl>public static HomeRegionControl.Builder builder()
public static Class<? extends HomeRegionControl.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.