Class IdentityNotificationAttributes
- java.lang.Object
-
- com.amazonaws.services.simpleemail.model.IdentityNotificationAttributes
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdentityNotificationAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setBounceTopic
public void setBounceTopic(String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
- Parameters:
bounceTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
-
getBounceTopic
public String getBounceTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
-
withBounceTopic
public IdentityNotificationAttributes withBounceTopic(String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.
- Parameters:
bounceTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish bounce notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComplaintTopic
public void setComplaintTopic(String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
- Parameters:
complaintTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
-
getComplaintTopic
public String getComplaintTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
-
withComplaintTopic
public IdentityNotificationAttributes withComplaintTopic(String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.
- Parameters:
complaintTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish complaint notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliveryTopic
public void setDeliveryTopic(String deliveryTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
- Parameters:
deliveryTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
-
getDeliveryTopic
public String getDeliveryTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
-
withDeliveryTopic
public IdentityNotificationAttributes withDeliveryTopic(String deliveryTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.
- Parameters:
deliveryTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic where Amazon SES will publish delivery notifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setForwardingEnabled
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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.- Parameters:
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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.
-
getForwardingEnabled
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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.- Returns:
- 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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.
-
withForwardingEnabled
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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.- Parameters:
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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isForwardingEnabled
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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.- Returns:
- 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, whilefalse
indicates that bounce and complaint notifications will be published only to the specified bounce and complaint Amazon SNS topics.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public IdentityNotificationAttributes clone()
-
-