Interface ConfirmSubscriptionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ConfirmSubscriptionRequest.Builder,,ConfirmSubscriptionRequest> SdkBuilder<ConfirmSubscriptionRequest.Builder,,ConfirmSubscriptionRequest> SdkPojo,SdkRequest.Builder,SnsRequest.Builder
- Enclosing class:
ConfirmSubscriptionRequest
@Mutable
@NotThreadSafe
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 theSubscribeaction.The ARN of the topic for which you wish to confirm a subscription.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
Subscribeaction.- Parameters:
token- Short-lived token sent to an endpoint during theSubscribeaction.- 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
trueand 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 istrueand 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-