Class IdentityDescription
java.lang.Object
com.amazonaws.services.cognitoidentity.model.IdentityDescription
- All Implemented Interfaces:
Serializable,Cloneable
A description of the identity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanDate on which the identity was created.A unique identifier in the format REGION:GUID.Date on which the identity was last modified.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.toString()Returns a string representation of this object; useful for testing and debugging.withCreationDate(Date creationDate) Date on which the identity was created.withIdentityId(String identityId) A unique identifier in the format REGION:GUID.withLastModifiedDate(Date lastModifiedDate) Date on which the identity was last modified.withLogins(String... logins) A set of optional name-value pairs that map provider names to provider tokens.withLogins(Collection<String> logins) A set of optional name-value pairs that map provider names to provider tokens.
-
Constructor Details
-
IdentityDescription
public IdentityDescription()
-
-
Method Details
-
setIdentityId
A unique identifier in the format REGION:GUID.- Parameters:
identityId- A unique identifier in the format REGION:GUID.
-
getIdentityId
A unique identifier in the format REGION:GUID.- Returns:
- A unique identifier in the format REGION:GUID.
-
withIdentityId
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
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
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
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
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
Date on which the identity was created.
- Parameters:
creationDate- Date on which the identity was created.
-
getCreationDate
Date on which the identity was created.
- Returns:
- Date on which the identity was created.
-
withCreationDate
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
Date on which the identity was last modified.
- Parameters:
lastModifiedDate- Date on which the identity was last modified.
-
getLastModifiedDate
Date on which the identity was last modified.
- Returns:
- Date on which the identity was last modified.
-
withLastModifiedDate
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-