@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetOpenIdTokenResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Returned in response to a successful GetOpenIdToken request.
| Constructor and Description |
|---|
GetOpenIdTokenResult() |
| Modifier and Type | Method and Description |
|---|---|
GetOpenIdTokenResult |
clone() |
boolean |
equals(Object obj) |
String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
String |
getToken()
An OpenID token, valid for 10 minutes.
|
int |
hashCode() |
void |
setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setToken(String token)
An OpenID token, valid for 10 minutes.
|
String |
toString()
Returns a string representation of this object.
|
GetOpenIdTokenResult |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
GetOpenIdTokenResult |
withToken(String token)
An OpenID token, valid for 10 minutes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setIdentityId(String identityId)
A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.
identityId - A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one
passed on input.public String getIdentityId()
A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.
public GetOpenIdTokenResult withIdentityId(String identityId)
A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.
identityId - A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one
passed on input.public void setToken(String token)
An OpenID token, valid for 10 minutes.
token - An OpenID token, valid for 10 minutes.public String getToken()
An OpenID token, valid for 10 minutes.
public GetOpenIdTokenResult withToken(String token)
An OpenID token, valid for 10 minutes.
token - An OpenID token, valid for 10 minutes.public String toString()
toString in class ObjectObject.toString()public GetOpenIdTokenResult clone()