Interface SnsMessage.Builder<SubclassT extends SnsMessage.Builder<?>>
-
- All Known Subinterfaces:
SnsNotification.Builder,SnsSubscriptionConfirmation.Builder,SnsUnsubscribeConfirmation.Builder
- All Known Implementing Classes:
SnsMessage.BuilderImpl
- Enclosing class:
- SnsMessage
public static interface SnsMessage.Builder<SubclassT extends SnsMessage.Builder<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SubclassTmessage(String message)The message body.SubclassTmessageId(String messageId)A Universally Unique Identifier (UUID), unique for each message published.SubclassTsignature(SdkBytes signature)SHA1withRSA or SHA256withRSA signature of this message.SubclassTsignatureVersion(SignatureVersion signatureVersion)Version of the Amazon SNS signature used.SubclassTsigningCertUrl(URI signingCertUrl)The URL to the certificate that was used to sign the message.SubclassTtimestamp(Instant timestamp)The time (GMT) when the message was sent.SubclassTtopicArn(String topicArn)The Amazon Resource Name (ARN) for the topic.
-
-
-
Method Detail
-
messageId
SubclassT messageId(String 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.
-
signature
SubclassT signature(SdkBytes 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
SubclassT signatureVersion(SignatureVersion signatureVersion)
Version of the Amazon SNS signature used.
-
-