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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfirmSubscriptionRequest.BuilderauthenticateOnUnsubscribe(String authenticateOnUnsubscribe)Disallows unauthenticated unsubscribes of the subscription.ConfirmSubscriptionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ConfirmSubscriptionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ConfirmSubscriptionRequest.Buildertoken(String token)Short-lived token sent to an endpoint during theSubscribeaction.ConfirmSubscriptionRequest.BuildertopicArn(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, sdkFieldNameToField, 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
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
ConfirmSubscriptionRequest.Builder authenticateOnUnsubscribe(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ConfirmSubscriptionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-