@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssumeImpersonationRoleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssumeImpersonationRoleResult() |
Modifier and Type | Method and Description |
---|---|
AssumeImpersonationRoleResult |
clone() |
boolean |
equals(Object obj) |
Long |
getExpiresIn()
The authentication token's validity, in seconds.
|
String |
getToken()
The authentication token for the impersonation role.
|
int |
hashCode() |
void |
setExpiresIn(Long expiresIn)
The authentication token's validity, in seconds.
|
void |
setToken(String token)
The authentication token for the impersonation role.
|
String |
toString()
Returns a string representation of this object.
|
AssumeImpersonationRoleResult |
withExpiresIn(Long expiresIn)
The authentication token's validity, in seconds.
|
AssumeImpersonationRoleResult |
withToken(String token)
The authentication token for the impersonation role.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setToken(String token)
The authentication token for the impersonation role.
token
- The authentication token for the impersonation role.public String getToken()
The authentication token for the impersonation role.
public AssumeImpersonationRoleResult withToken(String token)
The authentication token for the impersonation role.
token
- The authentication token for the impersonation role.public void setExpiresIn(Long expiresIn)
The authentication token's validity, in seconds.
expiresIn
- The authentication token's validity, in seconds.public Long getExpiresIn()
The authentication token's validity, in seconds.
public AssumeImpersonationRoleResult withExpiresIn(Long expiresIn)
The authentication token's validity, in seconds.
expiresIn
- The authentication token's validity, in seconds.public String toString()
toString
in class Object
Object.toString()
public AssumeImpersonationRoleResult clone()