@Generated(value="software.amazon.awssdk:codegen") public final class ConfirmSubscriptionRequest extends SnsRequest implements ToCopyableBuilder<ConfirmSubscriptionRequest.Builder,ConfirmSubscriptionRequest>
Input for ConfirmSubscription action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfirmSubscriptionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
authenticateOnUnsubscribe()
Disallows unauthenticated unsubscribes of the subscription.
|
static ConfirmSubscriptionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConfirmSubscriptionRequest.Builder> |
serializableBuilderClass() |
ConfirmSubscriptionRequest.Builder |
toBuilder() |
String |
token()
Short-lived token sent to an endpoint during the
Subscribe action. |
String |
topicArn()
The ARN of the topic for which you wish to confirm a subscription.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String topicArn()
The ARN of the topic for which you wish to confirm a subscription.
public final String token()
Short-lived token sent to an endpoint during the Subscribe action.
Subscribe action.public final String authenticateOnUnsubscribe()
Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true
and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the
endpoint. The unsubscribe action requires AWS authentication.
true and the request has an AWS signature, then only the topic owner and the subscription
owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication.public ConfirmSubscriptionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConfirmSubscriptionRequest.Builder,ConfirmSubscriptionRequest>toBuilder in class SnsRequestpublic static ConfirmSubscriptionRequest.Builder builder()
public static Class<? extends ConfirmSubscriptionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.