public static interface CreateAccountStatus.Builder extends SdkPojo, CopyableBuilder<CreateAccountStatus.Builder,CreateAccountStatus>
Modifier and Type | Method and Description |
---|---|
CreateAccountStatus.Builder |
accountId(String accountId)
If the account was created successfully, the unique identifier (ID) of the new account.
|
CreateAccountStatus.Builder |
accountName(String accountName)
The account name given to the account when it was created.
|
CreateAccountStatus.Builder |
completedTimestamp(Instant completedTimestamp)
The date and time that the account was created and the request completed.
|
CreateAccountStatus.Builder |
failureReason(CreateAccountFailureReason failureReason)
If the request failed, a description of the reason for the failure.
|
CreateAccountStatus.Builder |
failureReason(String failureReason)
If the request failed, a description of the reason for the failure.
|
CreateAccountStatus.Builder |
id(String id)
The unique identifier (ID) that references this request.
|
CreateAccountStatus.Builder |
requestedTimestamp(Instant requestedTimestamp)
The date and time that the request was made for the account creation.
|
CreateAccountStatus.Builder |
state(CreateAccountState state)
The status of the request.
|
CreateAccountStatus.Builder |
state(String state)
The status of the request.
|
copy
applyMutation, build
CreateAccountStatus.Builder id(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.
CreateAccountStatus.Builder accountName(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.CreateAccountStatus.Builder state(String state)
The status of the request.
state
- The status of the request.CreateAccountState
,
CreateAccountState
CreateAccountStatus.Builder state(CreateAccountState state)
The status of the request.
state
- The status of the request.CreateAccountState
,
CreateAccountState
CreateAccountStatus.Builder requestedTimestamp(Instant 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.CreateAccountStatus.Builder completedTimestamp(Instant 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.CreateAccountStatus.Builder accountId(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.
CreateAccountStatus.Builder failureReason(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
,
CreateAccountFailureReason
CreateAccountStatus.Builder failureReason(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
,
CreateAccountFailureReason
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.