public class IdentityNotificationAttributes
extends java.lang.Object
implements 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.
Constructor and Description |
---|
IdentityNotificationAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBounceTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish bounce notifications.
|
java.lang.String |
getComplaintTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish complaint notifications.
|
java.lang.String |
getDeliveryTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish delivery notifications.
|
java.lang.Boolean |
getForwardingEnabled()
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
java.lang.Boolean |
getHeadersInBounceNotificationsEnabled()
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Bounce . |
java.lang.Boolean |
getHeadersInComplaintNotificationsEnabled()
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Complaint . |
java.lang.Boolean |
getHeadersInDeliveryNotificationsEnabled()
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Delivery . |
int |
hashCode() |
java.lang.Boolean |
isForwardingEnabled()
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
java.lang.Boolean |
isHeadersInBounceNotificationsEnabled()
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Bounce . |
java.lang.Boolean |
isHeadersInComplaintNotificationsEnabled()
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Complaint . |
java.lang.Boolean |
isHeadersInDeliveryNotificationsEnabled()
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Delivery . |
void |
setBounceTopic(java.lang.String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish bounce notifications.
|
void |
setComplaintTopic(java.lang.String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish complaint notifications.
|
void |
setDeliveryTopic(java.lang.String deliveryTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish delivery notifications.
|
void |
setForwardingEnabled(java.lang.Boolean forwardingEnabled)
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
void |
setHeadersInBounceNotificationsEnabled(java.lang.Boolean headersInBounceNotificationsEnabled)
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Bounce . |
void |
setHeadersInComplaintNotificationsEnabled(java.lang.Boolean headersInComplaintNotificationsEnabled)
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Complaint . |
void |
setHeadersInDeliveryNotificationsEnabled(java.lang.Boolean headersInDeliveryNotificationsEnabled)
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Delivery . |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityNotificationAttributes |
withBounceTopic(java.lang.String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish bounce notifications.
|
IdentityNotificationAttributes |
withComplaintTopic(java.lang.String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish complaint notifications.
|
IdentityNotificationAttributes |
withDeliveryTopic(java.lang.String deliveryTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish delivery notifications.
|
IdentityNotificationAttributes |
withForwardingEnabled(java.lang.Boolean forwardingEnabled)
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
IdentityNotificationAttributes |
withHeadersInBounceNotificationsEnabled(java.lang.Boolean headersInBounceNotificationsEnabled)
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Bounce . |
IdentityNotificationAttributes |
withHeadersInComplaintNotificationsEnabled(java.lang.Boolean headersInComplaintNotificationsEnabled)
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Complaint . |
IdentityNotificationAttributes |
withHeadersInDeliveryNotificationsEnabled(java.lang.Boolean headersInDeliveryNotificationsEnabled)
Describes whether Amazon SES includes the original email headers in
Amazon SNS notifications of type
Delivery . |
public java.lang.String getBounceTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
public void setBounceTopic(java.lang.String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
bounceTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
public IdentityNotificationAttributes withBounceTopic(java.lang.String 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.
bounceTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
public java.lang.String getComplaintTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
public void setComplaintTopic(java.lang.String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
complaintTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
public IdentityNotificationAttributes withComplaintTopic(java.lang.String 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.
complaintTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
public java.lang.String getDeliveryTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
public void setDeliveryTopic(java.lang.String deliveryTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
deliveryTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
public IdentityNotificationAttributes withDeliveryTopic(java.lang.String 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.
deliveryTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
public java.lang.Boolean isForwardingEnabled()
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.
public java.lang.Boolean getForwardingEnabled()
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.
public void setForwardingEnabled(java.lang.Boolean 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.
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.
public IdentityNotificationAttributes withForwardingEnabled(java.lang.Boolean 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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.Boolean isHeadersInBounceNotificationsEnabled()
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.
public java.lang.Boolean getHeadersInBounceNotificationsEnabled()
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.
public void setHeadersInBounceNotificationsEnabled(java.lang.Boolean 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.
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.
public IdentityNotificationAttributes withHeadersInBounceNotificationsEnabled(java.lang.Boolean 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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.Boolean isHeadersInComplaintNotificationsEnabled()
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.
public java.lang.Boolean getHeadersInComplaintNotificationsEnabled()
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.
public void setHeadersInComplaintNotificationsEnabled(java.lang.Boolean 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.
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.
public IdentityNotificationAttributes withHeadersInComplaintNotificationsEnabled(java.lang.Boolean 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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.Boolean isHeadersInDeliveryNotificationsEnabled()
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.
public java.lang.Boolean getHeadersInDeliveryNotificationsEnabled()
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.
public void setHeadersInDeliveryNotificationsEnabled(java.lang.Boolean 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.
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.
public IdentityNotificationAttributes withHeadersInDeliveryNotificationsEnabled(java.lang.Boolean 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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.