public class DescribeIdentityResult extends Object implements Serializable, Cloneable
A description of the identity.
Constructor and Description |
---|
DescribeIdentityResult() |
Modifier and Type | Method and Description |
---|---|
DescribeIdentityResult |
clone() |
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()
A set of optional name-value pairs that map provider names to provider
tokens.
|
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)
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.
|
DescribeIdentityResult |
withCreationDate(Date creationDate)
Date on which the identity was created.
|
DescribeIdentityResult |
withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
|
DescribeIdentityResult |
withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
|
DescribeIdentityResult |
withLogins(Collection<String> logins)
A set of optional name-value pairs that map provider names to provider
tokens.
|
DescribeIdentityResult |
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 DescribeIdentityResult 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 DescribeIdentityResult withLogins(String... logins)
NOTE: This method appends the values to the existing list (if
any). Use setLogins(java.util.Collection)
or withLogins(java.util.Collection)
if you want to override the
existing values.
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 DescribeIdentityResult 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 Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate
- Date on which the identity was created.public DescribeIdentityResult withCreationDate(Date creationDate)
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()
public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- Date on which the identity was last modified.public DescribeIdentityResult withLastModifiedDate(Date lastModifiedDate)
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()
public DescribeIdentityResult clone()
Copyright © 2015. All rights reserved.