Class 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 Detail

      • IdentityNotificationAttributes

        public IdentityNotificationAttributes()
    • 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, while false 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, while false 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, while false 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, while false 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, while false 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, while false 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, while false 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, while false 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object