Interface PutAccountSuppressionAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutAccountSuppressionAttributesRequest.Builder,
,PutAccountSuppressionAttributesRequest> SdkBuilder<PutAccountSuppressionAttributesRequest.Builder,
,PutAccountSuppressionAttributesRequest> SdkPojo
,SdkRequest.Builder
,SesV2Request.Builder
- Enclosing class:
PutAccountSuppressionAttributesRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.suppressedReasons
(Collection<SuppressionListReason> suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.suppressedReasons
(SuppressionListReason... suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.suppressedReasonsWithStrings
(String... suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.suppressedReasonsWithStrings
(Collection<String> suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
Method Details
-
suppressedReasonsWithStrings
PutAccountSuppressionAttributesRequest.Builder suppressedReasonsWithStrings(Collection<String> suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons
- A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasonsWithStrings
PutAccountSuppressionAttributesRequest.Builder suppressedReasonsWithStrings(String... suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons
- A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasons
PutAccountSuppressionAttributesRequest.Builder suppressedReasons(Collection<SuppressionListReason> suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons
- A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
suppressedReasons
PutAccountSuppressionAttributesRequest.Builder suppressedReasons(SuppressionListReason... suppressedReasons) A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:
-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons
- A list that contains the reasons that email addresses will be automatically added to the suppression list for your account. This list can contain any or all of the following:-
COMPLAINT
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint. -
BOUNCE
– Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
PutAccountSuppressionAttributesRequest.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
PutAccountSuppressionAttributesRequest.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.
-