@Generated(value="software.amazon.awssdk:codegen") public final class ExchangeCodeForTokenResponse extends AmplifyUiBuilderResponse implements ToCopyableBuilder<ExchangeCodeForTokenResponse.Builder,ExchangeCodeForTokenResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExchangeCodeForTokenResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
The access token.
|
static ExchangeCodeForTokenResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expiresIn()
The date and time when the new access token expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
refreshToken()
The token to use to refresh a previously issued access token that might have expired.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExchangeCodeForTokenResponse.Builder> |
serializableBuilderClass() |
ExchangeCodeForTokenResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessToken()
The access token.
public final Integer expiresIn()
The date and time when the new access token expires.
public final String refreshToken()
The token to use to refresh a previously issued access token that might have expired.
public ExchangeCodeForTokenResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExchangeCodeForTokenResponse.Builder,ExchangeCodeForTokenResponse>toBuilder in class AwsResponsepublic static ExchangeCodeForTokenResponse.Builder builder()
public static Class<? extends ExchangeCodeForTokenResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2023. All rights reserved.