public static interface InviteAccountToOrganizationRequest.Builder extends OrganizationsRequest.Builder, CopyableBuilder<InviteAccountToOrganizationRequest.Builder,InviteAccountToOrganizationRequest>
| Modifier and Type | Method and Description |
|---|---|
InviteAccountToOrganizationRequest.Builder |
notes(String notes)
Additional information that you want to include in the generated email to the recipient account owner.
|
InviteAccountToOrganizationRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
InviteAccountToOrganizationRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
default InviteAccountToOrganizationRequest.Builder |
target(Consumer<HandshakeParty.Builder> target)
The identifier (ID) of the AWS account that you want to invite to join your organization.
|
InviteAccountToOrganizationRequest.Builder |
target(HandshakeParty target)
The identifier (ID) of the AWS account that you want to invite to join your organization.
|
buildrequestOverrideConfigcopyapply, buildInviteAccountToOrganizationRequest.Builder target(HandshakeParty target)
The identifier (ID) of the AWS account that you want to invite to join your organization. This is a JSON object that contains the following elements:
{ "Type": "ACCOUNT", "Id": "< account id number >" }
If you use the AWS CLI, you can submit this as a single string, similar to the following example:
--target Id=123456789012,Type=ACCOUNT
If you specify "Type": "ACCOUNT", then you must provide the AWS account ID number as the
Id. If you specify "Type": "EMAIL", then you must specify the email address that is
associated with the account.
--target Id=bill@example.com,Type=EMAIL
target - The identifier (ID) of the AWS account that you want to invite to join your organization. This is a
JSON object that contains the following elements:
{ "Type": "ACCOUNT", "Id": "< account id number >" }
If you use the AWS CLI, you can submit this as a single string, similar to the following example:
--target Id=123456789012,Type=ACCOUNT
If you specify "Type": "ACCOUNT", then you must provide the AWS account ID number as the
Id. If you specify "Type": "EMAIL", then you must specify the email address
that is associated with the account.
--target Id=bill@example.com,Type=EMAIL
default InviteAccountToOrganizationRequest.Builder target(Consumer<HandshakeParty.Builder> target)
The identifier (ID) of the AWS account that you want to invite to join your organization. This is a JSON object that contains the following elements:
{ "Type": "ACCOUNT", "Id": "< account id number >" }
If you use the AWS CLI, you can submit this as a single string, similar to the following example:
--target Id=123456789012,Type=ACCOUNT
If you specify "Type": "ACCOUNT", then you must provide the AWS account ID number as the
Id. If you specify "Type": "EMAIL", then you must specify the email address that is
associated with the account.
--target Id=bill@example.com,Type=EMAIL
HandshakeParty.Builder avoiding the need to
create one manually via HandshakeParty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to target(HandshakeParty).target - a consumer that will call methods on HandshakeParty.Buildertarget(HandshakeParty)InviteAccountToOrganizationRequest.Builder notes(String notes)
Additional information that you want to include in the generated email to the recipient account owner.
notes - Additional information that you want to include in the generated email to the recipient account owner.InviteAccountToOrganizationRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.InviteAccountToOrganizationRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.