@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeIdentityResult extends AmazonWebServiceResult<ResponseMetadata> 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()
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.
|
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)
The provider names.
|
DescribeIdentityResult |
withLogins(String... logins)
The provider names.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public String getIdentityId()
A unique identifier in the format REGION:GUID.
public DescribeIdentityResult withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId
- A unique identifier in the format REGION:GUID.public void setLogins(Collection<String> logins)
The provider names.
logins
- The provider names.public DescribeIdentityResult withLogins(String... logins)
The provider names.
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.
logins
- The provider names.public DescribeIdentityResult withLogins(Collection<String> logins)
The provider names.
logins
- The provider names.public void setCreationDate(Date creationDate)
Date on which the identity was created.
creationDate
- Date on which the identity was created.public Date getCreationDate()
Date on which the identity was created.
public DescribeIdentityResult withCreationDate(Date creationDate)
Date on which the identity was created.
creationDate
- Date on which the identity was created.public void setLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
lastModifiedDate
- Date on which the identity was last modified.public Date getLastModifiedDate()
Date on which the identity was last modified.
public DescribeIdentityResult withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
lastModifiedDate
- Date on which the identity was last modified.public String toString()
toString
in class Object
Object.toString()
public DescribeIdentityResult clone()