@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
static Class<? extends ConfirmSubscriptionRequest.Builder> |
serializableBuilderClass() |
ConfirmSubscriptionRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
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() |
overrideConfiguration
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ConfirmSubscriptionRequest.Builder,ConfirmSubscriptionRequest>
toBuilder
in class SnsRequest
public static ConfirmSubscriptionRequest.Builder builder()
public static Class<? extends ConfirmSubscriptionRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.