Class SnsNotification
- java.lang.Object
-
- software.amazon.awssdk.messagemanager.sns.model.SnsMessage
-
- software.amazon.awssdk.messagemanager.sns.model.SnsNotification
-
@SdkPublicApi public final class SnsNotification extends SnsMessage
A 'Notification' message from SNS.See the API reference for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnsNotification.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnsNotification.Builderbuilder()booleanequals(Object o)inthashCode()Stringsubject()The subject of the message.StringtoString()SnsMessageTypetype()The type of this message.URIunsubscribeUrl()The URL that can be visited to unsubscribe from the topic.-
Methods inherited from class software.amazon.awssdk.messagemanager.sns.model.SnsMessage
message, messageId, signature, signatureVersion, signingCertUrl, timestamp, topicArn, toStringBuilder
-
-
-
-
Method Detail
-
type
public SnsMessageType type()
Description copied from class:SnsMessageThe type of this message.- Specified by:
typein classSnsMessage
-
subject
public String subject()
The subject of the message. This may benull.
-
unsubscribeUrl
public URI unsubscribeUrl()
The URL that can be visited to unsubscribe from the topic.
-
builder
public static SnsNotification.Builder builder()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSnsMessage
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSnsMessage
-
-