com.amazonaws.services.simpleemail.model
Class IdentityNotificationAttributes

java.lang.Object
  extended by com.amazonaws.services.simpleemail.model.IdentityNotificationAttributes

public class IdentityNotificationAttributes
extends Object

Represents the notification attributes of an identity, including whether a bounce or complaint topic are set, and whether feedback forwarding is enabled.


Constructor Summary
IdentityNotificationAttributes()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBounceTopic()
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.
 String getComplaintTopic()
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.
 Boolean getForwardingEnabled()
          Describes whether Amazon SES will forward feedback as email.
 int hashCode()
           
 Boolean isForwardingEnabled()
          Describes whether Amazon SES will forward feedback as email.
 void setBounceTopic(String bounceTopic)
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.
 void setComplaintTopic(String complaintTopic)
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.
 void setForwardingEnabled(Boolean forwardingEnabled)
          Describes whether Amazon SES will forward feedback 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 Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.
 IdentityNotificationAttributes withComplaintTopic(String complaintTopic)
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.
 IdentityNotificationAttributes withForwardingEnabled(Boolean forwardingEnabled)
          Describes whether Amazon SES will forward feedback as email.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IdentityNotificationAttributes

public IdentityNotificationAttributes()
Method Detail

getBounceTopic

public String getBounceTopic()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.

Returns:
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.

setBounceTopic

public void setBounceTopic(String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.

Parameters:
bounceTopic - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.

withBounceTopic

public IdentityNotificationAttributes withBounceTopic(String bounceTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bounceTopic - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish bounce notifications.
Returns:
A reference to this updated object so that method calls can be chained together.

getComplaintTopic

public String getComplaintTopic()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.

Returns:
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.

setComplaintTopic

public void setComplaintTopic(String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.

Parameters:
complaintTopic - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.

withComplaintTopic

public IdentityNotificationAttributes withComplaintTopic(String complaintTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.

Returns a reference to this object so that method calls can be chained together.

Parameters:
complaintTopic - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic where Amazon SES will publish complaint notifications.
Returns:
A reference to this updated object so that method calls can be chained together.

isForwardingEnabled

public Boolean isForwardingEnabled()
Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.

Returns:
Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.

setForwardingEnabled

public void setForwardingEnabled(Boolean forwardingEnabled)
Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.

Parameters:
forwardingEnabled - Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.

withForwardingEnabled

public IdentityNotificationAttributes withForwardingEnabled(Boolean forwardingEnabled)
Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.

Returns a reference to this object so that method calls can be chained together.

Parameters:
forwardingEnabled - Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.
Returns:
A reference to this updated object so that method calls can be chained together.

getForwardingEnabled

public Boolean getForwardingEnabled()
Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint topics.

Returns:
Describes whether Amazon SES will forward feedback as email. true indicates that Amazon SES will forward feedback as email, while false indicates that feedback will be published only to the specified Bounce and Complaint 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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.