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 void setBounceTopic(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 String getBounceTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
public IdentityNotificationAttributes withBounceTopic(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(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 String getComplaintTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
public IdentityNotificationAttributes withComplaintTopic(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(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 String getDeliveryTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
public IdentityNotificationAttributes withDeliveryTopic(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(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 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(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 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 String toString()
toString
in class Object
Object.toString()
public IdentityNotificationAttributes clone()
Copyright © 2016. All rights reserved.