Class RevokeTokenRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest
software.amazon.awssdk.services.cognitoidentityprovider.model.RevokeTokenRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RevokeTokenRequest.Builder,RevokeTokenRequest>
@Generated("software.amazon.awssdk:codegen")
public final class RevokeTokenRequest
extends CognitoIdentityProviderRequest
implements ToCopyableBuilder<RevokeTokenRequest.Builder,RevokeTokenRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RevokeTokenRequest.Builderbuilder()final StringclientId()The ID of the app client where the token that you want to revoke was issued.final StringThe client secret of the requested app client, if the client has a secret.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends RevokeTokenRequest.Builder>final Stringtoken()The refresh token that you want to revoke.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
token
The refresh token that you want to revoke.
- Returns:
- The refresh token that you want to revoke.
-
clientId
The ID of the app client where the token that you want to revoke was issued.
- Returns:
- The ID of the app client where the token that you want to revoke was issued.
-
clientSecret
The client secret of the requested app client, if the client has a secret.
- Returns:
- The client secret of the requested app client, if the client has a secret.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RevokeTokenRequest.Builder,RevokeTokenRequest> - Specified by:
toBuilderin classCognitoIdentityProviderRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-