Class GetOpenIdTokenResult
java.lang.Object
com.amazonaws.services.cognitoidentity.model.GetOpenIdTokenResult
- All Implemented Interfaces:
Serializable
,Cloneable
Returned in response to a successful GetOpenIdToken request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A unique identifier in the format REGION:GUID.getToken()
An OpenID token, valid for 15 minutes.int
hashCode()
void
setIdentityId
(String identityId) A unique identifier in the format REGION:GUID.void
An OpenID token, valid for 15 minutes.toString()
Returns a string representation of this object; useful for testing and debugging.withIdentityId
(String identityId) A unique identifier in the format REGION:GUID.An OpenID token, valid for 15 minutes.
-
Constructor Details
-
GetOpenIdTokenResult
public GetOpenIdTokenResult()
-
-
Method Details
-
setIdentityId
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
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
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
An OpenID token, valid for 15 minutes.- Parameters:
token
- An OpenID token, valid for 15 minutes.
-
getToken
An OpenID token, valid for 15 minutes.- Returns:
- An OpenID token, valid for 15 minutes.
-
withToken
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-