Interface ConfirmSubscriptionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ConfirmSubscriptionRequest.Builder,ConfirmSubscriptionRequest>
,SdkBuilder<ConfirmSubscriptionRequest.Builder,ConfirmSubscriptionRequest>
,SdkPojo
,SdkRequest.Builder
,SnsRequest.Builder
- Enclosing class:
- ConfirmSubscriptionRequest
public static interface ConfirmSubscriptionRequest.Builder extends SnsRequest.Builder, SdkPojo, CopyableBuilder<ConfirmSubscriptionRequest.Builder,ConfirmSubscriptionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfirmSubscriptionRequest.Builder
authenticateOnUnsubscribe(String authenticateOnUnsubscribe)
Disallows unauthenticated unsubscribes of the subscription.ConfirmSubscriptionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ConfirmSubscriptionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ConfirmSubscriptionRequest.Builder
token(String token)
Short-lived token sent to an endpoint during theSubscribe
action.ConfirmSubscriptionRequest.Builder
topicArn(String topicArn)
The ARN of the topic for which you wish to confirm a subscription.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsRequest.Builder
build
-
-
-
-
Method Detail
-
topicArn
ConfirmSubscriptionRequest.Builder topicArn(String topicArn)
The ARN of the topic for which you wish to confirm a subscription.
- Parameters:
topicArn
- The ARN of the topic for which you wish to confirm a subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
token
ConfirmSubscriptionRequest.Builder token(String token)
Short-lived token sent to an endpoint during the
Subscribe
action.- Parameters:
token
- Short-lived token sent to an endpoint during theSubscribe
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authenticateOnUnsubscribe
ConfirmSubscriptionRequest.Builder authenticateOnUnsubscribe(String authenticateOnUnsubscribe)
Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is
true
and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.- Parameters:
authenticateOnUnsubscribe
- Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter istrue
and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ConfirmSubscriptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ConfirmSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-