Class DescribeIdentityResult
- java.lang.Object
-
- com.amazonaws.services.cognitoidentity.model.DescribeIdentityResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeIdentityResult extends Object implements Serializable, Cloneable
A description of the identity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeIdentityResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeIdentityResultclone()booleanequals(Object obj)DategetCreationDate()Date on which the identity was created.StringgetIdentityId()A unique identifier in the format REGION:GUID.DategetLastModifiedDate()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.inthashCode()voidsetCreationDate(Date creationDate)Date on which the identity was created.voidsetIdentityId(String identityId)A unique identifier in the format REGION:GUID.voidsetLastModifiedDate(Date lastModifiedDate)Date on which the identity was last modified.voidsetLogins(Collection<String> logins)A set of optional name-value pairs that map provider names to provider tokens.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeIdentityResultwithCreationDate(Date creationDate)Date on which the identity was created.DescribeIdentityResultwithIdentityId(String identityId)A unique identifier in the format REGION:GUID.DescribeIdentityResultwithLastModifiedDate(Date lastModifiedDate)Date on which the identity was last modified.DescribeIdentityResultwithLogins(String... logins)A set of optional name-value pairs that map provider names to provider tokens.DescribeIdentityResultwithLogins(Collection<String> logins)A set of optional name-value pairs that map provider names to provider tokens.
-
-
-
Method Detail
-
setIdentityId
public void setIdentityId(String identityId)
A unique identifier in the format REGION:GUID.- Parameters:
identityId- A unique identifier in the format REGION:GUID.
-
getIdentityId
public String getIdentityId()
A unique identifier in the format REGION:GUID.- Returns:
- A unique identifier in the format REGION:GUID.
-
withIdentityId
public DescribeIdentityResult withIdentityId(String identityId)
A unique identifier in the format REGION:GUID.- Parameters:
identityId- A unique identifier in the format REGION:GUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getLogins
public List<String> getLogins()
A set of optional name-value pairs that map provider names to provider tokens.- Returns:
- A set of optional name-value pairs that map provider names to provider tokens.
-
setLogins
public void setLogins(Collection<String> logins)
A set of optional name-value pairs that map provider names to provider tokens.- Parameters:
logins- A set of optional name-value pairs that map provider names to provider tokens.
-
withLogins
public DescribeIdentityResult withLogins(String... logins)
A set of optional name-value pairs that map provider names to provider tokens.NOTE: This method appends the values to the existing list (if any). Use
setLogins(java.util.Collection)orwithLogins(java.util.Collection)if you want to override the existing values.- Parameters:
logins- A set of optional name-value pairs that map provider names to provider tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withLogins
public DescribeIdentityResult withLogins(Collection<String> logins)
A set of optional name-value pairs that map provider names to provider tokens.- Parameters:
logins- A set of optional name-value pairs that map provider names to provider tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationDate
public void setCreationDate(Date creationDate)
Date on which the identity was created.
- Parameters:
creationDate- Date on which the identity was created.
-
getCreationDate
public Date getCreationDate()
Date on which the identity was created.
- Returns:
- Date on which the identity was created.
-
withCreationDate
public DescribeIdentityResult withCreationDate(Date creationDate)
Date on which the identity was created.
- Parameters:
creationDate- Date on which the identity was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastModifiedDate
public void setLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
- Parameters:
lastModifiedDate- Date on which the identity was last modified.
-
getLastModifiedDate
public Date getLastModifiedDate()
Date on which the identity was last modified.
- Returns:
- Date on which the identity was last modified.
-
withLastModifiedDate
public DescribeIdentityResult withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
- Parameters:
lastModifiedDate- Date on which the identity was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeIdentityResult clone()
-
-