@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SNSTopicPublishAction extends Object implements Serializable, Cloneable, StructuredPojo
Information required to publish the Amazon SNS message.
| Constructor and Description |
|---|
SNSTopicPublishAction() |
| Modifier and Type | Method and Description |
|---|---|
SNSTopicPublishAction |
clone() |
boolean |
equals(Object obj) |
String |
getTargetArn()
The ARN of the Amazon SNS target where the message is sent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setTargetArn(String targetArn)
The ARN of the Amazon SNS target where the message is sent.
|
String |
toString()
Returns a string representation of this object.
|
SNSTopicPublishAction |
withTargetArn(String targetArn)
The ARN of the Amazon SNS target where the message is sent.
|
public void setTargetArn(String targetArn)
The ARN of the Amazon SNS target where the message is sent.
targetArn - The ARN of the Amazon SNS target where the message is sent.public String getTargetArn()
The ARN of the Amazon SNS target where the message is sent.
public SNSTopicPublishAction withTargetArn(String targetArn)
The ARN of the Amazon SNS target where the message is sent.
targetArn - The ARN of the Amazon SNS target where the message is sent.public String toString()
toString in class ObjectObject.toString()public SNSTopicPublishAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.