@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAccountStatus extends Object implements Serializable, Cloneable, StructuredPojo
Contains the status about a CreateAccount request to create an AWS 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 |
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 |
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; useful for testing and debugging.
|
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 |
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 an 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 an 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 an create account request ID string requires "car-" followed by from 8 to 32 lower-case letters or digits.
The regex pattern for an 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 an 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 an 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 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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
ACCOUNT_LIMIT_EXCEEDED: The account could not be created because you have reached the limit on the number of accounts in your organization.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.
EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.
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.
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.