/* * Copyright 2010-2020 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.simpleemail.model; import java.io.Serializable; /** *
* Represents the notification attributes of an identity, including whether an * identity has Amazon Simple Notification Service (Amazon SNS) topics set for * bounce, complaint, and/or delivery notifications, and whether feedback * forwarding is enabled for bounce and complaint notifications. *
*/ public class IdentityNotificationAttributes implements Serializable { /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish bounce notifications. *
*/ private String bounceTopic; /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish complaint notifications. *
*/ private String complaintTopic; /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish delivery notifications. *
*/ private String deliveryTopic; /** *
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that Amazon SES will
* forward bounce and complaint notifications as email, while
* false
indicates that bounce and complaint notifications will
* be published only to the specified bounce and complaint Amazon SNS
* topics.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Bounce
. A value of
* true
specifies that Amazon SES will include headers in
* bounce notifications, and a value of false
specifies that
* Amazon SES will not include headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Complaint
. A value of
* true
specifies that Amazon SES will include headers in
* complaint notifications, and a value of false
specifies that
* Amazon SES will not include headers in complaint notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Delivery
. A value of
* true
specifies that Amazon SES will include headers in
* delivery notifications, and a value of false
specifies that
* Amazon SES will not include headers in delivery notifications.
*
* The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish bounce notifications. *
* * @return* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish bounce notifications. *
*/ public String getBounceTopic() { return bounceTopic; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish bounce notifications. *
* * @param bounceTopic* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish bounce notifications. *
*/ public void setBounceTopic(String bounceTopic) { this.bounceTopic = bounceTopic; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish bounce notifications. *
** Returns a reference to this object so that method calls can be chained * together. * * @param bounceTopic
* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish bounce notifications. *
* @return A reference to this updated object so that method calls can be * chained together. */ public IdentityNotificationAttributes withBounceTopic(String bounceTopic) { this.bounceTopic = bounceTopic; return this; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish complaint notifications. *
* * @return* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish complaint notifications. *
*/ public String getComplaintTopic() { return complaintTopic; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish complaint notifications. *
* * @param complaintTopic* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish complaint notifications. *
*/ public void setComplaintTopic(String complaintTopic) { this.complaintTopic = complaintTopic; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish complaint notifications. *
** Returns a reference to this object so that method calls can be chained * together. * * @param complaintTopic
* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish complaint notifications. *
* @return A reference to this updated object so that method calls can be * chained together. */ public IdentityNotificationAttributes withComplaintTopic(String complaintTopic) { this.complaintTopic = complaintTopic; return this; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish delivery notifications. *
* * @return* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish delivery notifications. *
*/ public String getDeliveryTopic() { return deliveryTopic; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish delivery notifications. *
* * @param deliveryTopic* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish delivery notifications. *
*/ public void setDeliveryTopic(String deliveryTopic) { this.deliveryTopic = deliveryTopic; } /** ** The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES * will publish delivery notifications. *
** Returns a reference to this object so that method calls can be chained * together. * * @param deliveryTopic
* The Amazon Resource Name (ARN) of the Amazon SNS topic where * Amazon SES will publish delivery notifications. *
* @return A reference to this updated object so that method calls can be * chained together. */ public IdentityNotificationAttributes withDeliveryTopic(String deliveryTopic) { this.deliveryTopic = deliveryTopic; return this; } /** *
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that Amazon SES will
* forward bounce and complaint notifications as email, while
* false
indicates that bounce and complaint notifications will
* be published only to the specified bounce and complaint Amazon SNS
* topics.
*
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that Amazon
* SES will forward bounce and complaint notifications as email,
* while false
indicates that bounce and complaint
* notifications will be published only to the specified bounce and
* complaint Amazon SNS topics.
*
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that Amazon SES will
* forward bounce and complaint notifications as email, while
* false
indicates that bounce and complaint notifications will
* be published only to the specified bounce and complaint Amazon SNS
* topics.
*
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that Amazon
* SES will forward bounce and complaint notifications as email,
* while false
indicates that bounce and complaint
* notifications will be published only to the specified bounce and
* complaint Amazon SNS topics.
*
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that Amazon SES will
* forward bounce and complaint notifications as email, while
* false
indicates that bounce and complaint notifications will
* be published only to the specified bounce and complaint Amazon SNS
* topics.
*
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that
* Amazon SES will forward bounce and complaint notifications as
* email, while false
indicates that bounce and
* complaint notifications will be published only to the
* specified bounce and complaint Amazon SNS topics.
*
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that Amazon SES will
* forward bounce and complaint notifications as email, while
* false
indicates that bounce and complaint notifications will
* be published only to the specified bounce and complaint Amazon SNS
* topics.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param forwardingEnabled
* Describes whether Amazon SES will forward bounce and complaint
* notifications as email. true
indicates that
* Amazon SES will forward bounce and complaint notifications as
* email, while false
indicates that bounce and
* complaint notifications will be published only to the
* specified bounce and complaint Amazon SNS topics.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Bounce
. A value of
* true
specifies that Amazon SES will include headers in
* bounce notifications, and a value of false
specifies that
* Amazon SES will not include headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email headers
* in Amazon SNS notifications of type Bounce
. A value
* of true
specifies that Amazon SES will include
* headers in bounce notifications, and a value of
* false
specifies that Amazon SES will not include
* headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Bounce
. A value of
* true
specifies that Amazon SES will include headers in
* bounce notifications, and a value of false
specifies that
* Amazon SES will not include headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email headers
* in Amazon SNS notifications of type Bounce
. A value
* of true
specifies that Amazon SES will include
* headers in bounce notifications, and a value of
* false
specifies that Amazon SES will not include
* headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Bounce
. A value of
* true
specifies that Amazon SES will include headers in
* bounce notifications, and a value of false
specifies that
* Amazon SES will not include headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email
* headers in Amazon SNS notifications of type
* Bounce
. A value of true
specifies
* that Amazon SES will include headers in bounce notifications,
* and a value of false
specifies that Amazon SES
* will not include headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Bounce
. A value of
* true
specifies that Amazon SES will include headers in
* bounce notifications, and a value of false
specifies that
* Amazon SES will not include headers in bounce notifications.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param headersInBounceNotificationsEnabled
* Describes whether Amazon SES includes the original email
* headers in Amazon SNS notifications of type
* Bounce
. A value of true
specifies
* that Amazon SES will include headers in bounce notifications,
* and a value of false
specifies that Amazon SES
* will not include headers in bounce notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Complaint
. A value of
* true
specifies that Amazon SES will include headers in
* complaint notifications, and a value of false
specifies that
* Amazon SES will not include headers in complaint notifications.
*
* Describes whether Amazon SES includes the original email headers
* in Amazon SNS notifications of type Complaint
. A
* value of true
specifies that Amazon SES will include
* headers in complaint notifications, and a value of
* false
specifies that Amazon SES will not include
* headers in complaint notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Complaint
. A value of
* true
specifies that Amazon SES will include headers in
* complaint notifications, and a value of false
specifies that
* Amazon SES will not include headers in complaint notifications.
*
* Describes whether Amazon SES includes the original email headers
* in Amazon SNS notifications of type Complaint
. A
* value of true
specifies that Amazon SES will include
* headers in complaint notifications, and a value of
* false
specifies that Amazon SES will not include
* headers in complaint notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Complaint
. A value of
* true
specifies that Amazon SES will include headers in
* complaint notifications, and a value of false
specifies that
* Amazon SES will not include headers in complaint notifications.
*
* Describes whether Amazon SES includes the original email
* headers in Amazon SNS notifications of type
* Complaint
. A value of true
specifies
* that Amazon SES will include headers in complaint
* notifications, and a value of false
specifies
* that Amazon SES will not include headers in complaint
* notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Complaint
. A value of
* true
specifies that Amazon SES will include headers in
* complaint notifications, and a value of false
specifies that
* Amazon SES will not include headers in complaint notifications.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param headersInComplaintNotificationsEnabled
* Describes whether Amazon SES includes the original email
* headers in Amazon SNS notifications of type
* Complaint
. A value of true
specifies
* that Amazon SES will include headers in complaint
* notifications, and a value of false
specifies
* that Amazon SES will not include headers in complaint
* notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Delivery
. A value of
* true
specifies that Amazon SES will include headers in
* delivery notifications, and a value of false
specifies that
* Amazon SES will not include headers in delivery notifications.
*
* Describes whether Amazon SES includes the original email headers
* in Amazon SNS notifications of type Delivery
. A
* value of true
specifies that Amazon SES will include
* headers in delivery notifications, and a value of
* false
specifies that Amazon SES will not include
* headers in delivery notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Delivery
. A value of
* true
specifies that Amazon SES will include headers in
* delivery notifications, and a value of false
specifies that
* Amazon SES will not include headers in delivery notifications.
*
* Describes whether Amazon SES includes the original email headers
* in Amazon SNS notifications of type Delivery
. A
* value of true
specifies that Amazon SES will include
* headers in delivery notifications, and a value of
* false
specifies that Amazon SES will not include
* headers in delivery notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Delivery
. A value of
* true
specifies that Amazon SES will include headers in
* delivery notifications, and a value of false
specifies that
* Amazon SES will not include headers in delivery notifications.
*
* Describes whether Amazon SES includes the original email
* headers in Amazon SNS notifications of type
* Delivery
. A value of true
specifies
* that Amazon SES will include headers in delivery
* notifications, and a value of false
specifies
* that Amazon SES will not include headers in delivery
* notifications.
*
* Describes whether Amazon SES includes the original email headers in
* Amazon SNS notifications of type Delivery
. A value of
* true
specifies that Amazon SES will include headers in
* delivery notifications, and a value of false
specifies that
* Amazon SES will not include headers in delivery notifications.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param headersInDeliveryNotificationsEnabled
* Describes whether Amazon SES includes the original email
* headers in Amazon SNS notifications of type
* Delivery
. A value of true
specifies
* that Amazon SES will include headers in delivery
* notifications, and a value of false
specifies
* that Amazon SES will not include headers in delivery
* notifications.
*