public class IdentityNotificationAttributes extends Object implements Serializable, 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.
Constructor and Description |
---|
IdentityNotificationAttributes() |
Modifier and Type | Method and Description |
---|---|
IdentityNotificationAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getBounceTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish bounce notifications.
|
String |
getComplaintTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish complaint notifications.
|
String |
getDeliveryTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish delivery notifications.
|
Boolean |
getForwardingEnabled()
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
int |
hashCode() |
Boolean |
isForwardingEnabled()
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
void |
setBounceTopic(String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish bounce notifications.
|
void |
setComplaintTopic(String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish complaint notifications.
|
void |
setDeliveryTopic(String deliveryTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish delivery notifications.
|
void |
setForwardingEnabled(Boolean forwardingEnabled)
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityNotificationAttributes |
withBounceTopic(String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish bounce notifications.
|
IdentityNotificationAttributes |
withComplaintTopic(String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish complaint notifications.
|
IdentityNotificationAttributes |
withDeliveryTopic(String deliveryTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish delivery notifications.
|
IdentityNotificationAttributes |
withForwardingEnabled(Boolean forwardingEnabled)
Describes whether Amazon SES will forward bounce and complaint
notifications as email.
|
public String getBounceTopic()
public void setBounceTopic(String bounceTopic)
bounceTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish bounce notifications.public IdentityNotificationAttributes withBounceTopic(String bounceTopic)
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 String getComplaintTopic()
public void setComplaintTopic(String complaintTopic)
complaintTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish complaint notifications.public IdentityNotificationAttributes withComplaintTopic(String complaintTopic)
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 String getDeliveryTopic()
public void setDeliveryTopic(String deliveryTopic)
deliveryTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon
SES will publish delivery notifications.public IdentityNotificationAttributes withDeliveryTopic(String deliveryTopic)
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 Boolean isForwardingEnabled()
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 void setForwardingEnabled(Boolean forwardingEnabled)
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(Boolean forwardingEnabled)
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 Boolean getForwardingEnabled()
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 String toString()
toString
in class Object
Object.toString()
public IdentityNotificationAttributes clone()
Copyright © 2015. All rights reserved.