@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)
Marshalls this structured data using the given
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 Object
Object.toString()
public SNSTopicPublishAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.