@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) |
Payload |
getPayload()
You can configure the action payload when you send a message as an Amazon SNS push notification.
|
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 |
setPayload(Payload payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
|
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 |
withPayload(Payload payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
|
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 void setPayload(Payload payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
payload
- You can configure the action payload when you send a message as an Amazon SNS push notification.public Payload getPayload()
You can configure the action payload when you send a message as an Amazon SNS push notification.
public SNSTopicPublishAction withPayload(Payload payload)
You can configure the action payload when you send a message as an Amazon SNS push notification.
payload
- You can configure the action payload when you send a message as an Amazon SNS push notification.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.