com.amazonaws.services.simpleemail.model
Class SetIdentityNotificationTopicRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleemail.model.SetIdentityNotificationTopicRequest
All Implemented Interfaces:
java.io.Serializable

public class SetIdentityNotificationTopicRequest
extends AmazonWebServiceRequest
implements java.io.Serializable

Container for the parameters to the SetIdentityNotificationTopic operation.

Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source . Publishing to topics may only be disabled when feedback forwarding is enabled.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide .

See Also:
AmazonSimpleEmailService.setIdentityNotificationTopic(SetIdentityNotificationTopicRequest), Serialized Form

Constructor Summary
SetIdentityNotificationTopicRequest()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getIdentity()
          The identity for which the topic will be set.
 java.lang.String getNotificationType()
          The type of feedback notifications that will be published to the specified topic.
 java.lang.String getSnsTopic()
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.
 int hashCode()
           
 void setIdentity(java.lang.String identity)
          The identity for which the topic will be set.
 void setNotificationType(NotificationType notificationType)
          The type of feedback notifications that will be published to the specified topic.
 void setNotificationType(java.lang.String notificationType)
          The type of feedback notifications that will be published to the specified topic.
 void setSnsTopic(java.lang.String snsTopic)
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 SetIdentityNotificationTopicRequest withIdentity(java.lang.String identity)
          The identity for which the topic will be set.
 SetIdentityNotificationTopicRequest withNotificationType(NotificationType notificationType)
          The type of feedback notifications that will be published to the specified topic.
 SetIdentityNotificationTopicRequest withNotificationType(java.lang.String notificationType)
          The type of feedback notifications that will be published to the specified topic.
 SetIdentityNotificationTopicRequest withSnsTopic(java.lang.String snsTopic)
          The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetIdentityNotificationTopicRequest

public SetIdentityNotificationTopicRequest()
Method Detail

getIdentity

public java.lang.String getIdentity()
The identity for which the topic will be set. Examples: [email protected], example.com.

Returns:
The identity for which the topic will be set. Examples: [email protected], example.com.

setIdentity

public void setIdentity(java.lang.String identity)
The identity for which the topic will be set. Examples: [email protected], example.com.

Parameters:
identity - The identity for which the topic will be set. Examples: [email protected], example.com.

withIdentity

public SetIdentityNotificationTopicRequest withIdentity(java.lang.String identity)
The identity for which the topic will be set. Examples: [email protected], example.com.

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

Parameters:
identity - The identity for which the topic will be set. Examples: [email protected], example.com.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotificationType

public java.lang.String getNotificationType()
The type of feedback notifications that will be published to the specified topic.

Constraints:
Allowed Values: Bounce, Complaint

Returns:
The type of feedback notifications that will be published to the specified topic.
See Also:
NotificationType

setNotificationType

public void setNotificationType(java.lang.String notificationType)
The type of feedback notifications that will be published to the specified topic.

Constraints:
Allowed Values: Bounce, Complaint

Parameters:
notificationType - The type of feedback notifications that will be published to the specified topic.
See Also:
NotificationType

withNotificationType

public SetIdentityNotificationTopicRequest withNotificationType(java.lang.String notificationType)
The type of feedback notifications that will be published to the specified topic.

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

Constraints:
Allowed Values: Bounce, Complaint

Parameters:
notificationType - The type of feedback notifications that will be published to the specified topic.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
NotificationType

setNotificationType

public void setNotificationType(NotificationType notificationType)
The type of feedback notifications that will be published to the specified topic.

Constraints:
Allowed Values: Bounce, Complaint

Parameters:
notificationType - The type of feedback notifications that will be published to the specified topic.
See Also:
NotificationType

withNotificationType

public SetIdentityNotificationTopicRequest withNotificationType(NotificationType notificationType)
The type of feedback notifications that will be published to the specified topic.

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

Constraints:
Allowed Values: Bounce, Complaint

Parameters:
notificationType - The type of feedback notifications that will be published to the specified topic.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
NotificationType

getSnsTopic

public java.lang.String getSnsTopic()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. If the parameter is omitted from the request or a null value is passed, the topic is cleared and publishing is disabled.

Returns:
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. If the parameter is omitted from the request or a null value is passed, the topic is cleared and publishing is disabled.

setSnsTopic

public void setSnsTopic(java.lang.String snsTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. If the parameter is omitted from the request or a null value is passed, the topic is cleared and publishing is disabled.

Parameters:
snsTopic - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. If the parameter is omitted from the request or a null value is passed, the topic is cleared and publishing is disabled.

withSnsTopic

public SetIdentityNotificationTopicRequest withSnsTopic(java.lang.String snsTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. If the parameter is omitted from the request or a null value is passed, the topic is cleared and publishing is disabled.

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

Parameters:
snsTopic - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. If the parameter is omitted from the request or a null value is passed, the topic is cleared and publishing is disabled.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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