Interface CreateMembersRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMembersRequest.Builder,,CreateMembersRequest> DetectiveRequest.Builder,SdkBuilder<CreateMembersRequest.Builder,,CreateMembersRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateMembersRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccounts(Collection<Account> accounts) The list of Amazon Web Services accounts to invite or to enable.accounts(Consumer<Account.Builder>... accounts) The list of Amazon Web Services accounts to invite or to enable.The list of Amazon Web Services accounts to invite or to enable.disableEmailNotification(Boolean disableEmailNotification) if set totrue, then the invited accounts do not receive email notifications.The ARN of the behavior graph.Customized message text to include in the invitation email message to the invited member accounts.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.detective.model.DetectiveRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
graphArn
The ARN of the behavior graph.
- Parameters:
graphArn- The ARN of the behavior graph.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
Customized message text to include in the invitation email message to the invited member accounts.
- Parameters:
message- Customized message text to include in the invitation email message to the invited member accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableEmailNotification
if set to
true, then the invited accounts do not receive email notifications. By default, this is set tofalse, and the invited accounts receive email notifications.Organization accounts in the organization behavior graph do not receive email notifications.
- Parameters:
disableEmailNotification- if set totrue, then the invited accounts do not receive email notifications. By default, this is set tofalse, and the invited accounts receive email notifications.Organization accounts in the organization behavior graph do not receive email notifications.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
- Parameters:
accounts- The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
- Parameters:
accounts- The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
This is a convenience method that creates an instance of theAccount.Builderavoiding the need to create one manually viaAccount.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccounts(List<Account>).- Parameters:
accounts- a consumer that will call methods onAccount.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-