Interface Account.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Account.Builder,Account>,SdkBuilder<Account.Builder,Account>,SdkPojo
- Enclosing class:
- Account
public static interface Account.Builder extends SdkPojo, CopyableBuilder<Account.Builder,Account>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Account.Builderarn(String arn)The Amazon Resource Name (ARN) of the account.Account.Builderemail(String email)The email address associated with the Amazon Web Services account.Account.Builderid(String id)The unique identifier (ID) of the account.Account.BuilderjoinedMethod(String joinedMethod)The method by which the account joined the organization.Account.BuilderjoinedMethod(AccountJoinedMethod joinedMethod)The method by which the account joined the organization.Account.BuilderjoinedTimestamp(Instant joinedTimestamp)The date the account became a part of the organization.Account.Buildername(String name)The friendly name of the account.Account.Builderstatus(String status)The status of the account in the organization.Account.Builderstatus(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, sdkFields
-
-
-
-
Method Detail
-
id
Account.Builder id(String 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
Account.Builder arn(String 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
Account.Builder email(String 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
Account.Builder name(String 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
Account.Builder status(String status)
The status of the account in the organization.
- Parameters:
status- The status of the account in the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountStatus,AccountStatus
-
status
Account.Builder status(AccountStatus status)
The status of the account in the organization.
- Parameters:
status- The status of the account in the organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AccountStatus,AccountStatus
-
joinedMethod
Account.Builder joinedMethod(String 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:
AccountJoinedMethod,AccountJoinedMethod
-
joinedMethod
Account.Builder joinedMethod(AccountJoinedMethod 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:
AccountJoinedMethod,AccountJoinedMethod
-
joinedTimestamp
Account.Builder joinedTimestamp(Instant 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.
-
-