public class SetIdentityNotificationTopicRequest extends AmazonWebServiceRequest implements java.io.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. For more information about feedback notification, see the Amazon SES Developer Guide .
| コンストラクタと説明 |
|---|
SetIdentityNotificationTopicRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
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.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getIdentity()
user@example.com, example.com.user@example.com, example.com.public void setIdentity(java.lang.String identity)
user@example.com, example.com.identity - The identity for which the topic will be set. Examples:
user@example.com, example.com.public SetIdentityNotificationTopicRequest withIdentity(java.lang.String identity)
user@example.com, 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:
user@example.com, example.com.public java.lang.String getNotificationType()
Constraints:
Allowed Values: Bounce, Complaint
NotificationTypepublic void setNotificationType(java.lang.String notificationType)
Constraints:
Allowed Values: Bounce, Complaint
notificationType - The type of feedback notifications that will be published to the
specified topic.NotificationTypepublic SetIdentityNotificationTopicRequest withNotificationType(java.lang.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.NotificationTypepublic void setNotificationType(NotificationType notificationType)
Constraints:
Allowed Values: Bounce, Complaint
notificationType - The type of feedback notifications that will be published to the
specified topic.NotificationTypepublic 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.NotificationTypepublic java.lang.String getSnsTopic()
public void setSnsTopic(java.lang.String snsTopic)
snsTopic - The Amazon Resource Name (ARN) of the Amazon Simple Notification
Service (Amazon SNS) topic. If the parameter is ommited from the
request or a null value is passed, the topic is cleared and publishing
is disabled.public SetIdentityNotificationTopicRequest withSnsTopic(java.lang.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 ommited from the
request or a null value is passed, the topic is cleared and publishing
is disabled.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object