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
Modifier and TypeMethodDescriptionauthenticateOnUnsubscribe
(String authenticateOnUnsubscribe) Disallows unauthenticated unsubscribes of the subscription.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Short-lived token sent to an endpoint during theSubscribe
action.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 Details
-
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
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
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ConfirmSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-