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) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) 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) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RevokeTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-