Interface CreateInvitationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateInvitationsRequest.Builder,
,CreateInvitationsRequest> Macie2Request.Builder
,SdkBuilder<CreateInvitationsRequest.Builder,
,CreateInvitationsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateInvitationsRequest
public static interface CreateInvitationsRequest.Builder
extends Macie2Request.Builder, SdkPojo, CopyableBuilder<CreateInvitationsRequest.Builder,CreateInvitationsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds
(String... accountIds) An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.accountIds
(Collection<String> accountIds) An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.disableEmailNotification
(Boolean disableEmailNotification) Specifies whether to send the invitation as an email message.Custom text to include in the email message that contains the invitation.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.macie2.model.Macie2Request.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 Details
-
accountIds
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
- Parameters:
accountIds
- An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.
- Parameters:
accountIds
- An array that lists Amazon Web Services account IDs, one for each account to send the invitation to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableEmailNotification
Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.
- Parameters:
disableEmailNotification
- Specifies whether to send the invitation as an email message. If this value is false, Amazon Macie sends the invitation (as an email message) to the email address that you specified for the recipient's account when you associated the account with your account. The default value is false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.
- Parameters:
message
- Custom text to include in the email message that contains the invitation. The text can contain as many as 80 alphanumeric characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateInvitationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateInvitationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-