@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 String topicArn()
The ARN of the topic for which you wish to confirm a subscription.
public String token()
Short-lived token sent to an endpoint during the Subscribe action.
Subscribe action.public 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 int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.