@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HomeRegionControl extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
HomeRegionControl() |
Modifier and Type | Method and Description |
---|---|
HomeRegionControl |
clone() |
boolean |
equals(Object obj) |
String |
getControlId()
A unique identifier that's generated for each home region control.
|
String |
getHomeRegion()
The AWS Region that's been set as home region.
|
Date |
getRequestedTime()
A timestamp representing the time when the customer called
CreateHomeregionControl and set the home
region for the account. |
Target |
getTarget()
The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setControlId(String controlId)
A unique identifier that's generated for each home region control.
|
void |
setHomeRegion(String homeRegion)
The AWS Region that's been set as home region.
|
void |
setRequestedTime(Date requestedTime)
A timestamp representing the time when the customer called
CreateHomeregionControl and set the home
region for the account. |
void |
setTarget(Target target)
The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT . |
String |
toString()
Returns a string representation of this object.
|
HomeRegionControl |
withControlId(String controlId)
A unique identifier that's generated for each home region control.
|
HomeRegionControl |
withHomeRegion(String homeRegion)
The AWS Region that's been set as home region.
|
HomeRegionControl |
withRequestedTime(Date requestedTime)
A timestamp representing the time when the customer called
CreateHomeregionControl and set the home
region for the account. |
HomeRegionControl |
withTarget(Target target)
The target parameter specifies the identifier to which the home region is applied, which is always an
ACCOUNT . |
public void setControlId(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.
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 String getControlId()
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 HomeRegionControl withControlId(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.
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 void setHomeRegion(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.
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 String getHomeRegion()
The AWS Region that's been set as home region. For example, "us-west-2" or "eu-central-1" are valid home regions.
public HomeRegionControl withHomeRegion(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.
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 void setTarget(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
.
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
.public Target getTarget()
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 HomeRegionControl withTarget(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
.
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
.public void setRequestedTime(Date requestedTime)
A timestamp representing the time when the customer called CreateHomeregionControl
and set the home
region for the account.
requestedTime
- A timestamp representing the time when the customer called CreateHomeregionControl
and set
the home region for the account.public Date getRequestedTime()
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 withRequestedTime(Date requestedTime)
A timestamp representing the time when the customer called CreateHomeregionControl
and set the home
region for the account.
requestedTime
- A timestamp representing the time when the customer called CreateHomeregionControl
and set
the home region for the account.public String toString()
toString
in class Object
Object.toString()
public HomeRegionControl clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.