@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SNSDestination extends Object implements Serializable, Cloneable
Contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
Event destinations, such as Amazon SNS, are associated with configuration sets, which enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
Constructor and Description |
---|
SNSDestination() |
Modifier and Type | Method and Description |
---|---|
SNSDestination |
clone() |
boolean |
equals(Object obj) |
String |
getTopicARN()
The ARN of the Amazon SNS topic that email sending events will be published to.
|
int |
hashCode() |
void |
setTopicARN(String topicARN)
The ARN of the Amazon SNS topic that email sending events will be published to.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SNSDestination |
withTopicARN(String topicARN)
The ARN of the Amazon SNS topic that email sending events will be published to.
|
public void setTopicARN(String topicARN)
The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic
ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about Amazon SNS topics, see
the Amazon SNS Developer Guide.
topicARN
- The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon
SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about
Amazon SNS topics, see the Amazon SNS
Developer Guide.public String getTopicARN()
The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic
ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about Amazon SNS topics, see
the Amazon SNS Developer Guide.
arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about
Amazon SNS topics, see the Amazon SNS
Developer Guide.public SNSDestination withTopicARN(String topicARN)
The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon SNS topic
ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about Amazon SNS topics, see
the Amazon SNS Developer Guide.
topicARN
- The ARN of the Amazon SNS topic that email sending events will be published to. An example of an Amazon
SNS topic ARN is arn:aws:sns:us-west-2:123456789012:MyTopic
. For more information about
Amazon SNS topics, see the Amazon SNS
Developer Guide.public String toString()
toString
in class Object
Object.toString()
public SNSDestination clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.