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