public final class SnsNotification extends SnsMessage
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
String |
getSubject() |
URL |
getUnsubscribeUrl() |
void |
handle(SnsMessageHandler handler)
Calls the appropriate 'handle' method on
SnsMessageHandler depending on the subtype. |
void |
unsubscribeFromTopic()
Unsubscribes this endpoint from the topic.
|
getMessageId, getTimestamp, getTopicArn
public String getSubject()
public String getMessage()
public URL getUnsubscribeUrl()
public void handle(SnsMessageHandler handler)
SnsMessage
SnsMessageHandler
depending on the subtype.handle
in class SnsMessage
handler
- Handler to deliver message to.public void unsubscribeFromTopic()
Copyright © 2018. All rights reserved.