public class DescribeIdentityResult
extends java.lang.Object
implements java.io.Serializable
A description of the identity.
Constructor and Description |
---|
DescribeIdentityResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
Date on which the identity was created.
|
java.lang.String |
getIdentityId()
A unique identifier in the format REGION:GUID.
|
java.util.Date |
getLastModifiedDate()
Date on which the identity was last modified.
|
java.util.List<java.lang.String> |
getLogins()
The provider names.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
Date on which the identity was created.
|
void |
setIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
Date on which the identity was last modified.
|
void |
setLogins(java.util.Collection<java.lang.String> logins)
The provider names.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeIdentityResult |
withCreationDate(java.util.Date creationDate)
Date on which the identity was created.
|
DescribeIdentityResult |
withIdentityId(java.lang.String identityId)
A unique identifier in the format REGION:GUID.
|
DescribeIdentityResult |
withLastModifiedDate(java.util.Date lastModifiedDate)
Date on which the identity was last modified.
|
DescribeIdentityResult |
withLogins(java.util.Collection<java.lang.String> logins)
The provider names.
|
DescribeIdentityResult |
withLogins(java.lang.String... logins)
The provider names.
|
public java.lang.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(java.lang.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 DescribeIdentityResult withIdentityId(java.lang.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 java.util.List<java.lang.String> getLogins()
The provider names.
The provider names.
public void setLogins(java.util.Collection<java.lang.String> logins)
The provider names.
logins
- The provider names.
public DescribeIdentityResult withLogins(java.lang.String... logins)
The provider names.
Returns a reference to this object so that method calls can be chained together.
logins
- The provider names.
public DescribeIdentityResult withLogins(java.util.Collection<java.lang.String> logins)
The provider names.
Returns a reference to this object so that method calls can be chained together.
logins
- The provider names.
public java.util.Date getCreationDate()
Date on which the identity was created.
Date on which the identity was created.
public void setCreationDate(java.util.Date creationDate)
Date on which the identity was created.
creationDate
- Date on which the identity was created.
public DescribeIdentityResult withCreationDate(java.util.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 java.util.Date getLastModifiedDate()
Date on which the identity was last modified.
Date on which the identity was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
Date on which the identity was last modified.
lastModifiedDate
- Date on which the identity was last modified.
public DescribeIdentityResult withLastModifiedDate(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object