public class SetIdentityNotificationTopicRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
SetIdentityNotificationTopic operation
.
Given an identity (email address or domain), sets the Amazon Simple
Notification Service (Amazon SNS) topic to which Amazon SES will
publish bounce, complaint, and/or delivery notifications for emails
sent with that identity as the Source
.
NOTE:Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled.
This action is throttled at one request per second.
For more information about feedback notification, see the Amazon SES Developer Guide .
NOOP
Constructor and Description |
---|
SetIdentityNotificationTopicRequest() |
Modifier and Type | Method and Description |
---|---|
SetIdentityNotificationTopicRequest |
clone() |
boolean |
equals(Object obj) |
String |
getIdentity()
The identity for which the Amazon SNS topic will be set.
|
String |
getNotificationType()
The type of notifications that will be published to the specified
Amazon SNS topic.
|
String |
getSnsTopic()
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
int |
hashCode() |
void |
setIdentity(String identity)
The identity for which the Amazon SNS topic will be set.
|
void |
setNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified
Amazon SNS topic.
|
void |
setNotificationType(String notificationType)
The type of notifications that will be published to the specified
Amazon SNS topic.
|
void |
setSnsTopic(String snsTopic)
The Amazon Resource Name (ARN) of the 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 Amazon SNS topic will be set.
|
SetIdentityNotificationTopicRequest |
withNotificationType(NotificationType notificationType)
The type of notifications that will be published to the specified
Amazon SNS topic.
|
SetIdentityNotificationTopicRequest |
withNotificationType(String notificationType)
The type of notifications that will be published to the specified
Amazon SNS topic.
|
SetIdentityNotificationTopicRequest |
withSnsTopic(String snsTopic)
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getIdentity()
[email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.[email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.public void setIdentity(String identity)
[email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.identity
- The identity for which the Amazon SNS topic will be set. You can
specify an identity by using its name or by using its Amazon Resource
Name (ARN). Examples: [email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.public SetIdentityNotificationTopicRequest withIdentity(String identity)
[email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.
Returns a reference to this object so that method calls can be chained together.
identity
- The identity for which the Amazon SNS topic will be set. You can
specify an identity by using its name or by using its Amazon Resource
Name (ARN). Examples: [email protected]
,
example.com
,
arn:aws:ses:us-east-1:123456789012:identity/example.com
.public String getNotificationType()
Constraints:
Allowed Values: Bounce, Complaint, Delivery
NotificationType
public void setNotificationType(String notificationType)
Constraints:
Allowed Values: Bounce, Complaint, Delivery
notificationType
- The type of notifications that will be published to the specified
Amazon SNS 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, Delivery
notificationType
- The type of notifications that will be published to the specified
Amazon SNS topic.NotificationType
public void setNotificationType(NotificationType notificationType)
Constraints:
Allowed Values: Bounce, Complaint, Delivery
notificationType
- The type of notifications that will be published to the specified
Amazon SNS 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, Delivery
notificationType
- The type of notifications that will be published to the specified
Amazon SNS topic.NotificationType
public String getSnsTopic()
SnsTopic
is cleared and publishing is disabled.SnsTopic
is cleared and publishing is disabled.public void setSnsTopic(String snsTopic)
SnsTopic
is cleared and publishing is disabled.snsTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic. If the
parameter is omitted from the request or a null value is passed,
SnsTopic
is cleared and publishing is disabled.public SetIdentityNotificationTopicRequest withSnsTopic(String snsTopic)
SnsTopic
is cleared and publishing is disabled.
Returns a reference to this object so that method calls can be chained together.
snsTopic
- The Amazon Resource Name (ARN) of the Amazon SNS topic. If the
parameter is omitted from the request or a null value is passed,
SnsTopic
is cleared and publishing is disabled.public String toString()
toString
in class Object
Object.toString()
public SetIdentityNotificationTopicRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.