@Generated(value="software.amazon.awssdk:codegen") public final class AuthenticationResultType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuthenticationResultType.Builder,AuthenticationResultType>
The authentication result.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuthenticationResultType.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessToken()
The access token.
|
static AuthenticationResultType.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
expiresIn()
The expiration period of the authentication result in seconds.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
idToken()
The ID token.
|
NewDeviceMetadataType |
newDeviceMetadata()
The new device metadata from an authentication result.
|
String |
refreshToken()
The refresh token.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuthenticationResultType.Builder> |
serializableBuilderClass() |
AuthenticationResultType.Builder |
toBuilder() |
String |
tokenType()
The token type.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String accessToken()
The access token.
public Integer expiresIn()
The expiration period of the authentication result in seconds.
public String tokenType()
The token type.
public String refreshToken()
The refresh token.
public String idToken()
The ID token.
public NewDeviceMetadataType newDeviceMetadata()
The new device metadata from an authentication result.
public AuthenticationResultType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuthenticationResultType.Builder,AuthenticationResultType>public static AuthenticationResultType.Builder builder()
public static Class<? extends AuthenticationResultType.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.