Class SnsSubscriptionConfirmation
- java.lang.Object
-
- software.amazon.awssdk.messagemanager.sns.model.SnsMessage
-
- software.amazon.awssdk.messagemanager.sns.model.SnsSubscriptionConfirmation
-
@SdkPublicApi public final class SnsSubscriptionConfirmation extends SnsMessage
A 'SubscriptionConfirmation' message from SNS.See the API reference for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnsSubscriptionConfirmation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnsSubscriptionConfirmation.Builderbuilder()booleanequals(Object o)inthashCode()URIsubscribeUrl()The URL that can be visited to confirm subscription to the topic.Stringtoken()A value that can be used with the ConfirmSubscription API to confirm subscription to the topic.StringtoString()SnsMessageTypetype()The type of this message.-
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
-
subscribeUrl
public URI subscribeUrl()
The URL that can be visited to confirm subscription to the topic.
-
token
public String token()
A value that can be used with the ConfirmSubscription API to confirm subscription to the topic.
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classSnsMessage
-
hashCode
public int hashCode()
- Overrides:
hashCodein classSnsMessage
-
builder
public static SnsSubscriptionConfirmation.Builder builder()
-
-