@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 15 minutes.
|
int |
hashCode() |
void |
setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setToken(String token)
An OpenID token, valid for 15 minutes.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetOpenIdTokenResult |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
GetOpenIdTokenResult |
withToken(String token)
An OpenID token, valid for 15 minutes.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 15 minutes.
token
- An OpenID token, valid for 15 minutes.public String getToken()
An OpenID token, valid for 15 minutes.
public GetOpenIdTokenResult withToken(String token)
An OpenID token, valid for 15 minutes.
token
- An OpenID token, valid for 15 minutes.public String toString()
toString
in class Object
Object.toString()
public GetOpenIdTokenResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.