/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.simpleemailv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *
* A request to change the account suppression list preferences for a specific configuration set. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class PutConfigurationSetSuppressionOptionsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** ** The name of the configuration set to change the suppression list preferences for. *
*/ private String configurationSetName; /** ** A list that contains the reasons that email addresses are 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.
*
* The name of the configuration set to change the suppression list preferences for. *
* * @param configurationSetName * The name of the configuration set to change the suppression list preferences for. */ public void setConfigurationSetName(String configurationSetName) { this.configurationSetName = configurationSetName; } /** ** The name of the configuration set to change the suppression list preferences for. *
* * @return The name of the configuration set to change the suppression list preferences for. */ public String getConfigurationSetName() { return this.configurationSetName; } /** ** The name of the configuration set to change the suppression list preferences for. *
* * @param configurationSetName * The name of the configuration set to change the suppression list preferences for. * @return Returns a reference to this object so that method calls can be chained together. */ public PutConfigurationSetSuppressionOptionsRequest withConfigurationSetName(String configurationSetName) { setConfigurationSetName(configurationSetName); return this; } /** ** A list that contains the reasons that email addresses are 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.
*
* 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.
*
* A list that contains the reasons that email addresses are 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.
*
* 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.
*
* A list that contains the reasons that email addresses are 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setSuppressedReasons(java.util.Collection)} or {@link #withSuppressedReasons(java.util.Collection)} if * you want to override the existing values. *
* * @param suppressedReasons * A list that contains the reasons that email addresses are 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.
*
* A list that contains the reasons that email addresses are 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.
*
* 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.
*
* A list that contains the reasons that email addresses are 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.
*
* 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.
*