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) |
Date |
getCreationDate()
Date on which the identity was created.
|
String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
Date |
getLastModifiedDate()
Date on which the identity was last modified.
|
List<String> |
getLogins()
The provider names.
|
int |
hashCode() |
void |
setCreationDate(Date creationDate)
Date on which the identity was created.
|
void |
setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
|
void |
setLogins(Collection<String> logins)
The provider names.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityDescription |
withCreationDate(Date creationDate)
Date on which the identity was created.
|
IdentityDescription |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
IdentityDescription |
withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
|
IdentityDescription |
withLogins(Collection<String> logins)
The provider names.
|
IdentityDescription |
withLogins(String... logins)
The provider names.
|
public String getIdentityId()
A unique identifier in the format REGION:GUID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
A unique identifier in the format REGION:GUID.
public void setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
identityId
- A unique identifier in the format REGION:GUID.
public IdentityDescription withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
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.
public void setLogins(Collection<String> logins)
The provider names.
logins
- The provider names.
public IdentityDescription withLogins(String... logins)
The provider names.
Returns a reference to this object so that method calls can be chained together.
logins
- The provider names.
public IdentityDescription withLogins(Collection<String> logins)
The provider names.
Returns a reference to this object so that method calls can be chained together.
logins
- The provider names.
public Date getCreationDate()
Date on which the identity was created.
Date on which the identity was created.
public void setCreationDate(Date creationDate)
Date on which the identity was created.
creationDate
- Date on which the identity was created.
public IdentityDescription withCreationDate(Date creationDate)
Date on which the identity was created.
Returns a reference to this object so that method calls can be chained together.
creationDate
- Date on which the identity was created.
public Date getLastModifiedDate()
Date on which the identity was last modified.
Date on which the identity was last modified.
public void setLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
lastModifiedDate
- Date on which the identity was last modified.
public IdentityDescription withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- Date on which the identity was last modified.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.