Interface RevokeTokenRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<RevokeTokenRequest.Builder,,RevokeTokenRequest> SdkBuilder<RevokeTokenRequest.Builder,,RevokeTokenRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
RevokeTokenRequest
@Mutable
@NotThreadSafe
public static interface RevokeTokenRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<RevokeTokenRequest.Builder,RevokeTokenRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the app client where the token that you want to revoke was issued.clientSecret(String clientSecret) The client secret of the requested app client, if the client has a secret.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
buildMethods 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, 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 ID of the app client where the token that you want to revoke was issued.
- Parameters:
clientId- The ID of the app client where the token that you want to revoke was issued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecret
The client secret of the requested app client, if the client has a secret.
- Parameters:
clientSecret- The client secret of the requested app client, if the client 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-