public class GetOpenIdTokenResult extends Object implements Serializable
Constructor and Description |
---|
GetOpenIdTokenResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String getIdentityId()
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityId(String identityId)
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId
- 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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId
- A unique identifier in the format REGION:GUID. Note
that the IdentityId returned may not match the one passed on
input.public String getToken()
public void setToken(String token)
token
- An OpenID token, valid for 15 minutes.public GetOpenIdTokenResult withToken(String token)
Returns a reference to this object so that method calls can be chained together.
token
- An OpenID token, valid for 15 minutes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.