@Generated(value="software.amazon.awssdk:codegen") public final class RevokeTokenRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<RevokeTokenRequest.Builder,RevokeTokenRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RevokeTokenRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RevokeTokenRequest.Builder |
builder() |
String |
clientId()
The client ID for the token that you want to revoke.
|
String |
clientSecret()
The secret for the client ID.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends RevokeTokenRequest.Builder> |
serializableBuilderClass() |
RevokeTokenRequest.Builder |
toBuilder() |
String |
token()
The refresh token that you want to revoke.
|
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String token()
The refresh token that you want to revoke.
public final String clientId()
The client ID for the token that you want to revoke.
public final String clientSecret()
The secret for the client ID. This is required only if the client ID has a secret.
public RevokeTokenRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RevokeTokenRequest.Builder,RevokeTokenRequest>toBuilder in class CognitoIdentityProviderRequestpublic static RevokeTokenRequest.Builder builder()
public static Class<? extends RevokeTokenRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.