public class SetIdentityNotificationTopicRequest extends AmazonWebServiceRequest implements Serializable
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 .
Constructor and Description |
---|
SetIdentityNotificationTopicRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getIdentity()
The identity for which the topic will be set.
|
String |
getNotificationType()
The type of feedback notifications that will be published to the
specified topic.
|
String |
getSnsTopic()
The Amazon Resource Name (ARN) of the Amazon Simple Notification
Service (Amazon SNS) topic.
|
int |
hashCode() |
void |
setIdentity(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(String notificationType)
The type of feedback notifications that will be published to the
specified topic.
|
void |
setSnsTopic(String snsTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification
Service (Amazon SNS) topic.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SetIdentityNotificationTopicRequest |
withIdentity(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(String notificationType)
The type of feedback notifications that will be published to the
specified topic.
|
SetIdentityNotificationTopicRequest |
withSnsTopic(String snsTopic)
The Amazon Resource Name (ARN) of the Amazon Simple Notification
Service (Amazon SNS) topic.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getIdentity()
[email protected]
, example.com
.[email protected]
, example.com
.public void setIdentity(String identity)
[email protected]
, example.com
.identity
- The identity for which the topic will be set. Examples:
[email protected]
, example.com
.public SetIdentityNotificationTopicRequest withIdentity(String identity)
[email protected]
, example.com
.
Returns a reference to this object so that method calls can be chained together.
identity
- The identity for which the topic will be set. Examples:
[email protected]
, example.com
.public String getNotificationType()
Constraints:
Allowed Values: Bounce, Complaint
NotificationType
public void setNotificationType(String notificationType)
Constraints:
Allowed Values: Bounce, Complaint
notificationType
- The type of feedback notifications that will be published to the
specified topic.NotificationType
public SetIdentityNotificationTopicRequest withNotificationType(String notificationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Bounce, Complaint
notificationType
- The type of feedback notifications that will be published to the
specified topic.NotificationType
public void setNotificationType(NotificationType notificationType)
Constraints:
Allowed Values: Bounce, Complaint
notificationType
- The type of feedback notifications that will be published to the
specified topic.NotificationType
public SetIdentityNotificationTopicRequest withNotificationType(NotificationType notificationType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Bounce, Complaint
notificationType
- The type of feedback notifications that will be published to the
specified topic.NotificationType
public String getSnsTopic()
public void setSnsTopic(String snsTopic)
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.public SetIdentityNotificationTopicRequest withSnsTopic(String snsTopic)
Returns a reference to this object so that method calls can be chained together.
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.public String toString()
toString
in class Object
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.