@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnsDestination extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
SnsDestination() |
| Modifier and Type | Method and Description |
|---|---|
SnsDestination |
clone() |
boolean |
equals(Object obj) |
String |
getTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setTopicArn(String topicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
|
String |
toString()
Returns a string representation of this object.
|
SnsDestination |
withTopicArn(String topicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.
|
public void setTopicArn(String topicArn)
topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.public String getTopicArn()
public SnsDestination withTopicArn(String topicArn)
topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish events to.public String toString()
toString in class ObjectObject.toString()public SnsDestination clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.