@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationResultType extends Object implements Serializable, Cloneable, StructuredPojo
The result type of the authentication result.
Constructor and Description |
---|
AuthenticationResultType() |
Modifier and Type | Method and Description |
---|---|
AuthenticationResultType |
clone() |
boolean |
equals(Object obj) |
String |
getAccessToken()
The access token of the authentication result.
|
Integer |
getExpiresIn()
The expiration period of the authentication result.
|
String |
getIdToken()
The ID token of the authentication result.
|
NewDeviceMetadataType |
getNewDeviceMetadata()
The new device metadata from an authentication result.
|
String |
getRefreshToken()
The refresh token of the authentication result.
|
String |
getTokenType()
The token type of the authentication result.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccessToken(String accessToken)
The access token of the authentication result.
|
void |
setExpiresIn(Integer expiresIn)
The expiration period of the authentication result.
|
void |
setIdToken(String idToken)
The ID token of the authentication result.
|
void |
setNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
void |
setRefreshToken(String refreshToken)
The refresh token of the authentication result.
|
void |
setTokenType(String tokenType)
The token type of the authentication result.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AuthenticationResultType |
withAccessToken(String accessToken)
The access token of the authentication result.
|
AuthenticationResultType |
withExpiresIn(Integer expiresIn)
The expiration period of the authentication result.
|
AuthenticationResultType |
withIdToken(String idToken)
The ID token of the authentication result.
|
AuthenticationResultType |
withNewDeviceMetadata(NewDeviceMetadataType newDeviceMetadata)
The new device metadata from an authentication result.
|
AuthenticationResultType |
withRefreshToken(String refreshToken)
The refresh token of the authentication result.
|
AuthenticationResultType |
withTokenType(String tokenType)
The token type of the authentication result.
|
public void setAccessToken(String accessToken)
The access token of the authentication result.
accessToken
- The access token of the authentication result.public String getAccessToken()
The access token of the authentication result.
public AuthenticationResultType withAccessToken(String accessToken)
The access token of the authentication result.
accessToken
- The access token of the authentication result.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 of the authentication result.
tokenType
- The token type of the authentication result.public String getTokenType()
The token type of the authentication result.
public AuthenticationResultType withTokenType(String tokenType)
The token type of the authentication result.
tokenType
- The token type of the authentication result.public void setRefreshToken(String refreshToken)
The refresh token of the authentication result.
refreshToken
- The refresh token of the authentication result.public String getRefreshToken()
The refresh token of the authentication result.
public AuthenticationResultType withRefreshToken(String refreshToken)
The refresh token of the authentication result.
refreshToken
- The refresh token of the authentication result.public void setIdToken(String idToken)
The ID token of the authentication result.
idToken
- The ID token of the authentication result.public String getIdToken()
The ID token of the authentication result.
public AuthenticationResultType withIdToken(String idToken)
The ID token of the authentication result.
idToken
- The ID token of the authentication result.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 Object
Object.toString()
public AuthenticationResultType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.