public static interface CreateAccountRequest.Builder extends OrganizationsRequest.Builder, CopyableBuilder<CreateAccountRequest.Builder,CreateAccountRequest>
Modifier and Type | Method and Description |
---|---|
CreateAccountRequest.Builder |
accountName(String accountName)
The friendly name of the member account.
|
CreateAccountRequest.Builder |
email(String email)
The email address of the owner to assign to the new member account.
|
CreateAccountRequest.Builder |
iamUserAccessToBilling(IAMUserAccessToBilling iamUserAccessToBilling)
If set to
ALLOW , the new account enables IAM users to access account billing information
if they have the required permissions. |
CreateAccountRequest.Builder |
iamUserAccessToBilling(String iamUserAccessToBilling)
If set to
ALLOW , the new account enables IAM users to access account billing information
if they have the required permissions. |
CreateAccountRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateAccountRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateAccountRequest.Builder |
roleName(String roleName)
(Optional)
|
build
overrideConfiguration
copy
applyMutation, build
CreateAccountRequest.Builder email(String email)
The email address of the owner to assign to the new member account. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You cannot access the root user of the account or remove an account that was created with an invalid email address.
email
- The email address of the owner to assign to the new member account. This email address must not
already be associated with another AWS account. You must use a valid email address to complete account
creation. You cannot access the root user of the account or remove an account that was created with an
invalid email address.CreateAccountRequest.Builder accountName(String accountName)
The friendly name of the member account.
accountName
- The friendly name of the member account.CreateAccountRequest.Builder roleName(String roleName)
(Optional)
The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account.
If you do not specify this parameter, the role name defaults to OrganizationAccountAccessRole
.
For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide, and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.
The regex pattern that is used to validate this parameter is a string of characters that can consist of uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@-
roleName
- (Optional)
The name of an IAM role that Organizations automatically preconfigures in the new member account. This role trusts the master account, allowing users in the master account to assume the role, as permitted by the master account administrator. The role has administrator permissions in the new member account.
If you do not specify this parameter, the role name defaults to
OrganizationAccountAccessRole
.
For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide, and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.
The regex pattern that is used to validate this parameter is a string of characters that can consist of uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.@-
CreateAccountRequest.Builder iamUserAccessToBilling(String iamUserAccessToBilling)
If set to ALLOW
, the new account enables IAM users to access account billing information
if they have the required permissions. If set to DENY
, then only the root user of the new
account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management
User Guide.
If you do not specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.
iamUserAccessToBilling
- If set to ALLOW
, the new account enables IAM users to access account billing information
if they have the required permissions. If set to DENY
, then only the root user of
the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost
Management User Guide.
If you do not specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.
IAMUserAccessToBilling
,
IAMUserAccessToBilling
CreateAccountRequest.Builder iamUserAccessToBilling(IAMUserAccessToBilling iamUserAccessToBilling)
If set to ALLOW
, the new account enables IAM users to access account billing information
if they have the required permissions. If set to DENY
, then only the root user of the new
account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management
User Guide.
If you do not specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.
iamUserAccessToBilling
- If set to ALLOW
, the new account enables IAM users to access account billing information
if they have the required permissions. If set to DENY
, then only the root user of
the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost
Management User Guide.
If you do not specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.
IAMUserAccessToBilling
,
IAMUserAccessToBilling
CreateAccountRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateAccountRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.