Example usage for Java com.amazonaws.services.sns.model PublishRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
PublishRequest() Default constructor for PublishRequest object. | |
PublishRequest(String topicArn, String message, String subject) Constructs a new PublishRequest object. | |
PublishRequest(String topicArn, String message) Constructs a new PublishRequest object. |
PublishRequest | addMessageAttributesEntry(String key, MessageAttributeValue value) |
String | getMessage() The message you want to send. |
java.util.Map | getMessageAttributes() Message attributes for Publish action. |
String | getPhoneNumber() The phone number to which you want to deliver an SMS message. |
String | getSubject() Optional parameter to be used as the "Subject" line when the message is delivered to email endpoints. |
String | getTopicArn() The topic you want to publish to. |
void | setMessage(String message) The message you want to send. |
void | setMessageAttributes(java.util.Map Message attributes for Publish action. |
void | setMessageStructure(String messageStructure) Set |
void | setSubject(String subject) Optional parameter to be used as the "Subject" line when the message is delivered to email endpoints. |
void | setTargetArn(String targetArn) If you don't specify a value for the |
void | setTopicArn(String topicArn) The topic you want to publish to. |
PublishRequest | withMessageAttributes(java.util.Map Message attributes for Publish action. |
PublishRequest | withMessageStructure(String messageStructure) Set |