@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 SnsRequest
public static ConfirmSubscriptionRequest.Builder builder()
public static Class<? extends ConfirmSubscriptionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2020. All rights reserved.