Interface RevokeTokenRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityProviderRequest.Builder
,CopyableBuilder<RevokeTokenRequest.Builder,
,RevokeTokenRequest> SdkBuilder<RevokeTokenRequest.Builder,
,RevokeTokenRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
RevokeTokenRequest
public static interface RevokeTokenRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<RevokeTokenRequest.Builder,RevokeTokenRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe client ID for the token that you want to revoke.clientSecret
(String clientSecret) The secret for the client ID.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The refresh token that you want to revoke.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
build
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
-
Method Details
-
token
The refresh token that you want to revoke.
- Parameters:
token
- The refresh token that you want to revoke.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientId
The client ID for the token that you want to revoke.
- Parameters:
clientId
- The client ID for the token that you want to revoke.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The secret for the client ID. This is required only if the client ID has a secret.
- Parameters:
clientSecret
- The secret for the client ID. This is required only if the client ID has a secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
RevokeTokenRequest.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
RevokeTokenRequest.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.
-