@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationResultType extends Object implements Serializable, Cloneable, StructuredPojo
The authentication result.
| Constructor and Description |
|---|
AuthenticationResultType() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationResultType |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token.
|
Integer |
getExpiresIn()
The expiration period of the authentication result.
|
String |
getIdToken()
The ID token.
|
NewDeviceMetadataType |
getNewDeviceMetadata()
The new device metadata from an authentication result.
|
String |
getRefreshToken()
The refresh token.
|
String |
getTokenType()
The token type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccessToken(String accessToken)
The access token.
|
void |
setExpiresIn(Integer expiresIn)
The expiration period of the authentication result.
|
void |
setIdToken(String idToken)
The ID token.
|
void |
setNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
void |
setRefreshToken(String refreshToken)
The refresh token.
|
void |
setTokenType(String tokenType)
The token type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AuthenticationResultType |
withAccessToken(String accessToken)
The access token.
|
AuthenticationResultType |
withExpiresIn(Integer expiresIn)
The expiration period of the authentication result.
|
AuthenticationResultType |
withIdToken(String idToken)
The ID token.
|
AuthenticationResultType |
withNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
AuthenticationResultType |
withRefreshToken(String refreshToken)
The refresh token.
|
AuthenticationResultType |
withTokenType(String tokenType)
The token type.
|
public void setAccessToken(String accessToken)
The access token.
accessToken - The access token.public String getAccessToken()
The access token.
public AuthenticationResultType withAccessToken(String accessToken)
The access token.
accessToken - The access token.public void setExpiresIn(Integer expiresIn)
The expiration period of the authentication result.
expiresIn - The expiration period of the authentication result.public Integer getExpiresIn()
The expiration period of the authentication result.
public AuthenticationResultType withExpiresIn(Integer expiresIn)
The expiration period of the authentication result.
expiresIn - The expiration period of the authentication result.public void setTokenType(String tokenType)
The token type.
tokenType - The token type.public String getTokenType()
The token type.
public AuthenticationResultType withTokenType(String tokenType)
The token type.
tokenType - The token type.public void setRefreshToken(String refreshToken)
The refresh token.
refreshToken - The refresh token.public String getRefreshToken()
The refresh token.
public AuthenticationResultType withRefreshToken(String refreshToken)
The refresh token.
refreshToken - The refresh token.public void setIdToken(String idToken)
The ID token.
idToken - The ID token.public String getIdToken()
The ID token.
public AuthenticationResultType withIdToken(String idToken)
The ID token.
idToken - The ID token.public void setNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
newDeviceMetadata - The new device metadata from an authentication result.public NewDeviceMetadataType getNewDeviceMetadata()
The new device metadata from an authentication result.
public AuthenticationResultType withNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
newDeviceMetadata - The new device metadata from an authentication result.public String toString()
toString in class ObjectObject.toString()public AuthenticationResultType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.