Interface PutTenantSuppressionAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutTenantSuppressionAttributesRequest.Builder,,PutTenantSuppressionAttributesRequest> SdkBuilder<PutTenantSuppressionAttributesRequest.Builder,,PutTenantSuppressionAttributesRequest> SdkPojo,SdkRequest.Builder,SesV2Request.Builder
- Enclosing class:
PutTenantSuppressionAttributesRequest
-
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 are automatically added to the suppression list for the tenant.suppressedReasons(SuppressionListReason... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant.suppressedReasonsWithStrings(String... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant.suppressedReasonsWithStrings(Collection<String> suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant.suppressionScope(String suppressionScope) The suppression scope for the tenant.suppressionScope(SuppressionListScope suppressionScope) The suppression scope for the tenant.tenantName(String tenantName) The name of the tenant to configure suppression list preferences for.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Request.Builder
build
-
Method Details
-
tenantName
The name of the tenant to configure suppression list preferences for.
- Parameters:
tenantName- The name of the tenant to configure suppression list preferences for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressedReasonsWithStrings
PutTenantSuppressionAttributesRequest.Builder suppressedReasonsWithStrings(Collection<String> suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons- A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list 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
PutTenantSuppressionAttributesRequest.Builder suppressedReasonsWithStrings(String... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons- A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list 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
PutTenantSuppressionAttributesRequest.Builder suppressedReasons(Collection<SuppressionListReason> suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons- A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list 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
PutTenantSuppressionAttributesRequest.Builder suppressedReasons(SuppressionListReason... suppressedReasons) A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:
-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list when a message sent to that address results in a hard bounce.
- Parameters:
suppressedReasons- A list that contains the reasons that email addresses are automatically added to the suppression list for the tenant. This list can contain any or all of the following:-
COMPLAINT– Amazon SES adds an email address to the suppression list when a message sent to that address results in a complaint. -
BOUNCE– Amazon SES adds an email address to the suppression list 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.
-
-
suppressionScope
The suppression scope for the tenant. Specify
TENANTto use the tenant's own suppression list, orACCOUNTto use the account-level suppression list.If you don't specify a suppression scope, the tenant defaults to
ACCOUNTscope and uses the account-level suppression list.- Parameters:
suppressionScope- The suppression scope for the tenant. SpecifyTENANTto use the tenant's own suppression list, orACCOUNTto use the account-level suppression list.If you don't specify a suppression scope, the tenant defaults to
ACCOUNTscope and uses the account-level suppression list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
suppressionScope
PutTenantSuppressionAttributesRequest.Builder suppressionScope(SuppressionListScope suppressionScope) The suppression scope for the tenant. Specify
TENANTto use the tenant's own suppression list, orACCOUNTto use the account-level suppression list.If you don't specify a suppression scope, the tenant defaults to
ACCOUNTscope and uses the account-level suppression list.- Parameters:
suppressionScope- The suppression scope for the tenant. SpecifyTENANTto use the tenant's own suppression list, orACCOUNTto use the account-level suppression list.If you don't specify a suppression scope, the tenant defaults to
ACCOUNTscope and uses the account-level suppression list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutTenantSuppressionAttributesRequest.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
PutTenantSuppressionAttributesRequest.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.
-