Interface Account.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Account.Builder,
,Account> SdkBuilder<Account.Builder,
,Account> SdkPojo
- Enclosing class:
Account
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the account.The email address associated with the Amazon Web Services account.The unique identifier (ID) of the account.joinedMethod
(String joinedMethod) The method by which the account joined the organization.joinedMethod
(AccountJoinedMethod joinedMethod) The method by which the account joined the organization.joinedTimestamp
(Instant joinedTimestamp) The date the account became a part of the organization.The friendly name of the account.Each state represents a specific phase in the account lifecycle.state
(AccountState state) Each state represents a specific phase in the account lifecycle.The status of the account in the organization.status
(AccountStatus status) The status of the account in the organization.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The unique identifier (ID) of the account.
The regex pattern for an account ID string requires exactly 12 digits.
- Parameters:
id
- The unique identifier (ID) of the account.The regex pattern for an account ID string requires exactly 12 digits.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the account.
For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the account.For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
email
The email address associated with the Amazon Web Services account.
The regex pattern for this parameter is a string of characters that represents a standard internet email address.
- Parameters:
email
- The email address associated with the Amazon Web Services account.The regex pattern for this parameter is a string of characters that represents a standard internet email address.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The friendly name of the account.
The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
- Parameters:
name
- The friendly name of the account.The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the account in the organization.
The
Status
parameter in theAccount
object will be retired on September 9, 2026. Although both the accountState
and accountStatus
parameters are currently available in the Organizations APIs (DescribeAccount
,ListAccounts
,ListAccountsForParent
), we recommend that you update your scripts or other code to use theState
parameter instead ofStatus
before September 9, 2026.- Parameters:
status
- The status of the account in the organization.The
Status
parameter in theAccount
object will be retired on September 9, 2026. Although both the accountState
and accountStatus
parameters are currently available in the Organizations APIs (DescribeAccount
,ListAccounts
,ListAccountsForParent
), we recommend that you update your scripts or other code to use theState
parameter instead ofStatus
before September 9, 2026.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the account in the organization.
The
Status
parameter in theAccount
object will be retired on September 9, 2026. Although both the accountState
and accountStatus
parameters are currently available in the Organizations APIs (DescribeAccount
,ListAccounts
,ListAccountsForParent
), we recommend that you update your scripts or other code to use theState
parameter instead ofStatus
before September 9, 2026.- Parameters:
status
- The status of the account in the organization.The
Status
parameter in theAccount
object will be retired on September 9, 2026. Although both the accountState
and accountStatus
parameters are currently available in the Organizations APIs (DescribeAccount
,ListAccounts
,ListAccountsForParent
), we recommend that you update your scripts or other code to use theState
parameter instead ofStatus
before September 9, 2026.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Each state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes.
For more information about account states and their implications, see Monitor the state of your Amazon Web Services accounts in the Organizations User Guide.
- Parameters:
state
- Each state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes.For more information about account states and their implications, see Monitor the state of your Amazon Web Services accounts in the Organizations User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
Each state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes.
For more information about account states and their implications, see Monitor the state of your Amazon Web Services accounts in the Organizations User Guide.
- Parameters:
state
- Each state represents a specific phase in the account lifecycle. Use this information to manage account access, automate workflows, or trigger actions based on account state changes.For more information about account states and their implications, see Monitor the state of your Amazon Web Services accounts in the Organizations User Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
joinedMethod
The method by which the account joined the organization.
- Parameters:
joinedMethod
- The method by which the account joined the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
joinedMethod
The method by which the account joined the organization.
- Parameters:
joinedMethod
- The method by which the account joined the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
joinedTimestamp
The date the account became a part of the organization.
- Parameters:
joinedTimestamp
- The date the account became a part of the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-