public class IdentityNotificationAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
bounceTopic
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish bounce notifications.
|
private java.lang.String |
complaintTopic
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish complaint notifications.
|
private java.lang.String |
deliveryTopic
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES
will publish delivery notifications.
|
private java.lang.Boolean |
forwardingEnabled
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
Constructor and Description |
---|
IdentityNotificationAttributes() |
Modifier and Type | Method and Description |
---|---|
IdentityNotificationAttributes |
clone() |
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.
|
int |
hashCode() |
java.lang.Boolean |
isForwardingEnabled()
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
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.
|
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.
|
private java.lang.String bounceTopic
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
private java.lang.String complaintTopic
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
private java.lang.String deliveryTopic
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
private 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.
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 java.lang.String getBounceTopic()
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.
bounceTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where
Amazon SES will publish bounce 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 java.lang.String getComplaintTopic()
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.
complaintTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where
Amazon SES will publish complaint 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 java.lang.String getDeliveryTopic()
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.
deliveryTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where
Amazon SES will publish delivery notifications.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 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.
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.
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 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.
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.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public IdentityNotificationAttributes clone()
clone
in class java.lang.Object