public class IdentityDescription extends Object implements Serializable
A description of the identity.
Constructor and Description |
---|
IdentityDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
List<String> |
getLogins()
A set of optional name/value pairs that map provider names to provider
tokens.
|
int |
hashCode() |
void |
setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setLogins(Collection<String> logins)
A set of optional name/value pairs that map provider names to provider
tokens.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityDescription |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
IdentityDescription |
withLogins(Collection<String> logins)
A set of optional name/value pairs that map provider names to provider
tokens.
|
IdentityDescription |
withLogins(String... logins)
A set of optional name/value pairs that map provider names to provider
tokens.
|
public String getIdentityId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityId(String identityId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId
- A unique identifier in the format REGION:GUID.public IdentityDescription withIdentityId(String identityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId
- A unique identifier in the format REGION:GUID.public List<String> getLogins()
public void setLogins(Collection<String> logins)
logins
- A set of optional name/value pairs that map provider names to provider
tokens.public IdentityDescription withLogins(String... logins)
Returns a reference to this object so that method calls can be chained together.
logins
- A set of optional name/value pairs that map provider names to provider
tokens.public IdentityDescription withLogins(Collection<String> logins)
Returns a reference to this object so that method calls can be chained together.
logins
- A set of optional name/value pairs that map provider names to provider
tokens.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.