@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccountStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains the status about a CreateAccount or CreateGovCloudAccount request to create an AWS account or an AWS GovCloud (US) account in an organization.
Constructor and Description |
---|
CreateAccountStatus() |
Modifier and Type | Method and Description |
---|---|
CreateAccountStatus |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
If the account was created successfully, the unique identifier (ID) of the new account.
|
String |
getAccountName()
The account name given to the account when it was created.
|
Date |
getCompletedTimestamp()
The date and time that the account was created and the request completed.
|
String |
getFailureReason()
If the request failed, a description of the reason for the failure.
|
String |
getGovCloudAccountId()
If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US)
Region.
|
String |
getId()
The unique identifier (ID) that references this request.
|
Date |
getRequestedTimestamp()
The date and time that the request was made for the account creation.
|
String |
getState()
The status of the request.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
If the account was created successfully, the unique identifier (ID) of the new account.
|
void |
setAccountName(String accountName)
The account name given to the account when it was created.
|
void |
setCompletedTimestamp(Date completedTimestamp)
The date and time that the account was created and the request completed.
|
void |
setFailureReason(CreateAccountFailureReason failureReason)
If the request failed, a description of the reason for the failure.
|
void |
setFailureReason(String failureReason)
If the request failed, a description of the reason for the failure.
|
void |
setGovCloudAccountId(String govCloudAccountId)
If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US)
Region.
|
void |
setId(String id)
The unique identifier (ID) that references this request.
|
void |
setRequestedTimestamp(Date requestedTimestamp)
The date and time that the request was made for the account creation.
|
void |
setState(CreateAccountState state)
The status of the request.
|
void |
setState(String state)
The status of the request.
|
String |
toString()
Returns a string representation of this object.
|
CreateAccountStatus |
withAccountId(String accountId)
If the account was created successfully, the unique identifier (ID) of the new account.
|
CreateAccountStatus |
withAccountName(String accountName)
The account name given to the account when it was created.
|
CreateAccountStatus |
withCompletedTimestamp(Date completedTimestamp)
The date and time that the account was created and the request completed.
|
CreateAccountStatus |
withFailureReason(CreateAccountFailureReason failureReason)
If the request failed, a description of the reason for the failure.
|
CreateAccountStatus |
withFailureReason(String failureReason)
If the request failed, a description of the reason for the failure.
|
CreateAccountStatus |
withGovCloudAccountId(String govCloudAccountId)
If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US)
Region.
|
CreateAccountStatus |
withId(String id)
The unique identifier (ID) that references this request.
|
CreateAccountStatus |
withRequestedTimestamp(Date requestedTimestamp)
The date and time that the request was made for the account creation.
|
CreateAccountStatus |
withState(CreateAccountState state)
The status of the request.
|
CreateAccountStatus |
withState(String state)
The status of the request.
|
public void setId(String id)
The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.
The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
id
- The unique identifier (ID) that references this request. You get this value from the response of the
initial CreateAccount request to create the account.
The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
public String getId()
The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.
The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
public CreateAccountStatus withId(String id)
The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.
The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
id
- The unique identifier (ID) that references this request. You get this value from the response of the
initial CreateAccount request to create the account.
The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
public void setAccountName(String accountName)
The account name given to the account when it was created.
accountName
- The account name given to the account when it was created.public String getAccountName()
The account name given to the account when it was created.
public CreateAccountStatus withAccountName(String accountName)
The account name given to the account when it was created.
accountName
- The account name given to the account when it was created.public void setState(String state)
The status of the request.
state
- The status of the request.CreateAccountState
public String getState()
The status of the request.
CreateAccountState
public CreateAccountStatus withState(String state)
The status of the request.
state
- The status of the request.CreateAccountState
public void setState(CreateAccountState state)
The status of the request.
state
- The status of the request.CreateAccountState
public CreateAccountStatus withState(CreateAccountState state)
The status of the request.
state
- The status of the request.CreateAccountState
public void setRequestedTimestamp(Date requestedTimestamp)
The date and time that the request was made for the account creation.
requestedTimestamp
- The date and time that the request was made for the account creation.public Date getRequestedTimestamp()
The date and time that the request was made for the account creation.
public CreateAccountStatus withRequestedTimestamp(Date requestedTimestamp)
The date and time that the request was made for the account creation.
requestedTimestamp
- The date and time that the request was made for the account creation.public void setCompletedTimestamp(Date completedTimestamp)
The date and time that the account was created and the request completed.
completedTimestamp
- The date and time that the account was created and the request completed.public Date getCompletedTimestamp()
The date and time that the account was created and the request completed.
public CreateAccountStatus withCompletedTimestamp(Date completedTimestamp)
The date and time that the account was created and the request completed.
completedTimestamp
- The date and time that the account was created and the request completed.public void setAccountId(String accountId)
If the account was created successfully, the unique identifier (ID) of the new account.
The regex pattern for an account ID string requires exactly 12 digits.
accountId
- If the account was created successfully, the unique identifier (ID) of the new account.
The regex pattern for an account ID string requires exactly 12 digits.
public String getAccountId()
If the account was created successfully, the unique identifier (ID) of the new account.
The regex pattern for an account ID string requires exactly 12 digits.
The regex pattern for an account ID string requires exactly 12 digits.
public CreateAccountStatus withAccountId(String accountId)
If the account was created successfully, the unique identifier (ID) of the new account.
The regex pattern for an account ID string requires exactly 12 digits.
accountId
- If the account was created successfully, the unique identifier (ID) of the new account.
The regex pattern for an account ID string requires exactly 12 digits.
public void setGovCloudAccountId(String govCloudAccountId)
If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.
govCloudAccountId
- If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud
(US) Region.public String getGovCloudAccountId()
If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.
public CreateAccountStatus withGovCloudAccountId(String govCloudAccountId)
If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.
govCloudAccountId
- If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud
(US) Region.public void setFailureReason(String failureReason)
If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
failureReason
- If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
CreateAccountFailureReason
public String getFailureReason()
If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
CreateAccountFailureReason
public CreateAccountStatus withFailureReason(String failureReason)
If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
failureReason
- If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
CreateAccountFailureReason
public void setFailureReason(CreateAccountFailureReason failureReason)
If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
failureReason
- If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
CreateAccountFailureReason
public CreateAccountStatus withFailureReason(CreateAccountFailureReason failureReason)
If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
failureReason
- If the request failed, a description of the reason for the failure.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.
INVALID_ADDRESS: The account could not be created because the address you provided is not valid.
INVALID_EMAIL: The account could not be created because the email address you provided is not valid.
INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact Customer Support.
MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.
MISSING_PAYMENT_INSTRUMENT: You must configure the master account with a valid payment method, such as a credit card.
CreateAccountFailureReason
public String toString()
toString
in class Object
Object.toString()
public CreateAccountStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.