| Constructor and Description |
|---|
SNS() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gets the message
|
Map<String,SNSEvent.MessageAttribute> |
getMessageAttributes()
Gets the attributes associated with the message
|
String |
getMessageId()
Gets the message id
|
String |
getSignature()
Gets the message signature
|
String |
getSignatureVersion()
Gets the signature version used to sign the message
|
String |
getSigningCertUrl()
Gets the URL for the signing certificate
|
String |
getSubject()
Gets the subject for the message
|
org.joda.time.DateTime |
getTimestamp()
Gets the message time stamp
|
String |
getTopicArn()
Gets the topic ARN
|
String |
getType()
Gets the message type
|
String |
getUnsubscribeUrl()
Gets the message unsubscribe URL
|
void |
setMessage(String message)
Sets the message
|
void |
setMessageAttributes(Map<String,SNSEvent.MessageAttribute> messageAttributes)
Sets the attributes associated with the message
|
void |
setMessageId(String messageId)
Sets the message id
|
void |
setSignature(String signature)
Sets the message signature
|
void |
setSignatureVersion(String signatureVersion)
The signature version used to sign the message
|
void |
setSigningCertUrl(String signingCertUrl)
Sets the URL for the signing certificate
|
void |
setSubject(String subject)
Sets the subject for the message
|
void |
setTimestamp(org.joda.time.DateTime timestamp)
Sets the message time stamp
|
void |
setTopicArn(String topicArn)
Sets the topic ARN
|
void |
setType(String type)
Sets the message type
|
void |
setUnsubscribeUrl(String unsubscribeUrl)
Sets the message unsubscribe URL
|
public Map<String,SNSEvent.MessageAttribute> getMessageAttributes()
public void setMessageAttributes(Map<String,SNSEvent.MessageAttribute> messageAttributes)
messageAttributes - A map object with string and message attribute key/value pairspublic String getSigningCertUrl()
public void setSigningCertUrl(String signingCertUrl)
signingCertUrl - A string containing a URLpublic String getMessageId()
public void setMessageId(String messageId)
messageId - A string containing the message IDpublic String getMessage()
public void setMessage(String message)
message - A string containing the message bodypublic String getSubject()
public void setSubject(String subject)
subject - A string containing the message subjectpublic String getUnsubscribeUrl()
public void setUnsubscribeUrl(String unsubscribeUrl)
unsubscribeUrl - A string with the URLpublic String getType()
public void setType(String type)
type - A string containing the message typepublic String getSignatureVersion()
public void setSignatureVersion(String signatureVersion)
signatureVersion - A string containing the signature versionpublic String getSignature()
public void setSignature(String signature)
signature - A string containing the message signaturepublic org.joda.time.DateTime getTimestamp()
public void setTimestamp(org.joda.time.DateTime timestamp)
timestamp - A DateTime object representing the message time stamppublic String getTopicArn()
public void setTopicArn(String topicArn)
topicArn - A string containing the topic ARNCopyright © 2016. All rights reserved.