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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
InviteAccountToOrganizationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.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.
|
build
overrideConfiguration
copy
applyMutation, build
InviteAccountToOrganizationRequest.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.Builder
target(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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.InviteAccountToOrganizationRequest.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.