Class SnsMessage
java.lang.Object
software.amazon.awssdk.messagemanager.sns.model.SnsMessage
- Direct Known Subclasses:
SnsNotification,SnsSubscriptionConfirmation,SnsUnsubscribeConfirmation
Base class for SNS message types. This contains the common fields of SNS messages.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSnsMessage.Builder<SubclassT extends SnsMessage.Builder<?>> -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()message()The message body.A Universally Unique Identifier (UUID), unique for each message published.SHA1withRSA or SHA256withRSA signature of this message.Version of the Amazon SNS signature used.The URL to the certificate that was used to sign the message.The time (GMT) when the message was sent.topicArn()The Amazon Resource Name (ARN) for the topic.abstract SnsMessageTypetype()The type of this message.
-
Method Details
-
type
The type of this message. -
messageId
A Universally Unique Identifier (UUID), unique for each message published. For a message that Amazon SNS resends during a retry, the message ID of the original message is used. -
message
The message body. -
topicArn
The Amazon Resource Name (ARN) for the topic. -
timestamp
The time (GMT) when the message was sent. -
signature
SHA1withRSA or SHA256withRSA signature of this message. The values from the message used to calculate the signature are dictated by the message type. See the service documentation for more information. -
signatureVersion
Version of the Amazon SNS signature used. -
signingCertUrl
The URL to the certificate that was used to sign the message. -
equals
-
hashCode
-