Class GetOpenIdTokenResult
- java.lang.Object
-
- com.amazonaws.services.cognitoidentity.model.GetOpenIdTokenResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetOpenIdTokenResult extends Object implements Serializable, Cloneable
Returned in response to a successful GetOpenIdToken request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetOpenIdTokenResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetOpenIdTokenResultclone()booleanequals(Object obj)StringgetIdentityId()A unique identifier in the format REGION:GUID.StringgetToken()An OpenID token, valid for 15 minutes.inthashCode()voidsetIdentityId(String identityId)A unique identifier in the format REGION:GUID.voidsetToken(String token)An OpenID token, valid for 15 minutes.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetOpenIdTokenResultwithIdentityId(String identityId)A unique identifier in the format REGION:GUID.GetOpenIdTokenResultwithToken(String token)An OpenID token, valid for 15 minutes.
-
-
-
Method Detail
-
setIdentityId
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.- Parameters:
identityId- A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.
-
getIdentityId
public String getIdentityId()
A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.- Returns:
- A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.
-
withIdentityId
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.- Parameters:
identityId- A unique identifier in the format REGION:GUID. Note that the IdentityId returned may not match the one passed on input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setToken
public void setToken(String token)
An OpenID token, valid for 15 minutes.- Parameters:
token- An OpenID token, valid for 15 minutes.
-
getToken
public String getToken()
An OpenID token, valid for 15 minutes.- Returns:
- An OpenID token, valid for 15 minutes.
-
withToken
public GetOpenIdTokenResult withToken(String token)
An OpenID token, valid for 15 minutes.- Parameters:
token- An OpenID token, valid for 15 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetOpenIdTokenResult clone()
-
-