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 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.
-
-
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetOpenIdTokenResult clone()
-
-