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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RevokeTokenRequest.BuilderclientId(String clientId)The client ID for the token that you want to revoke.RevokeTokenRequest.BuilderclientSecret(String clientSecret)The secret for the client ID.RevokeTokenRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)RevokeTokenRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)RevokeTokenRequest.Buildertoken(String token)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 Detail
-
token
RevokeTokenRequest.Builder token(String 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
RevokeTokenRequest.Builder clientId(String 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
RevokeTokenRequest.Builder clientSecret(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
RevokeTokenRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-