Interface CreateMembersRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMembersRequest.Builder,CreateMembersRequest>,DetectiveRequest.Builder,SdkBuilder<CreateMembersRequest.Builder,CreateMembersRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateMembersRequest
public static interface CreateMembersRequest.Builder extends DetectiveRequest.Builder, SdkPojo, CopyableBuilder<CreateMembersRequest.Builder,CreateMembersRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateMembersRequest.Builderaccounts(Collection<Account> accounts)The list of Amazon Web Services accounts to invite or to enable.CreateMembersRequest.Builderaccounts(Consumer<Account.Builder>... accounts)The list of Amazon Web Services accounts to invite or to enable.CreateMembersRequest.Builderaccounts(Account... accounts)The list of Amazon Web Services accounts to invite or to enable.CreateMembersRequest.BuilderdisableEmailNotification(Boolean disableEmailNotification)if set totrue, then the invited accounts do not receive email notifications.CreateMembersRequest.BuildergraphArn(String graphArn)The ARN of the behavior graph.CreateMembersRequest.Buildermessage(String message)Customized message text to include in the invitation email message to the invited member accounts.CreateMembersRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateMembersRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.detective.model.DetectiveRequest.Builder
build
-
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
-
graphArn
CreateMembersRequest.Builder graphArn(String 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
CreateMembersRequest.Builder message(String 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
CreateMembersRequest.Builder disableEmailNotification(Boolean 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
CreateMembersRequest.Builder accounts(Collection<Account> 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
CreateMembersRequest.Builder accounts(Account... 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
CreateMembersRequest.Builder accounts(Consumer<Account.Builder>... 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 to#accounts(List.) - 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:
#accounts(java.util.Collection)
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMembersRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-