@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAuthorizationTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
GetAuthorizationTokenResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetAuthorizationTokenResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getAuthorizationToken()
 The returned authentication token. 
 | 
Date | 
getExpiration()
 A timestamp that specifies the date and time the authorization token expires. 
 | 
int | 
hashCode()  | 
void | 
setAuthorizationToken(String authorizationToken)
 The returned authentication token. 
 | 
void | 
setExpiration(Date expiration)
 A timestamp that specifies the date and time the authorization token expires. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
GetAuthorizationTokenResult | 
withAuthorizationToken(String authorizationToken)
 The returned authentication token. 
 | 
GetAuthorizationTokenResult | 
withExpiration(Date expiration)
 A timestamp that specifies the date and time the authorization token expires. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAuthorizationToken(String authorizationToken)
The returned authentication token.
authorizationToken - The returned authentication token.public String getAuthorizationToken()
The returned authentication token.
public GetAuthorizationTokenResult withAuthorizationToken(String authorizationToken)
The returned authentication token.
authorizationToken - The returned authentication token.public void setExpiration(Date expiration)
A timestamp that specifies the date and time the authorization token expires.
expiration - A timestamp that specifies the date and time the authorization token expires.public Date getExpiration()
A timestamp that specifies the date and time the authorization token expires.
public GetAuthorizationTokenResult withExpiration(Date expiration)
A timestamp that specifies the date and time the authorization token expires.
expiration - A timestamp that specifies the date and time the authorization token expires.public String toString()
toString in class ObjectObject.toString()public GetAuthorizationTokenResult clone()