Class IdentityDescription

java.lang.Object
com.amazonaws.services.cognitoidentity.model.IdentityDescription
All Implemented Interfaces:
Serializable, Cloneable

public class IdentityDescription extends Object implements Serializable, Cloneable
A description of the identity.
See Also:
  • Constructor Details

    • IdentityDescription

      public IdentityDescription()
  • Method Details

    • 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 IdentityDescription 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 IdentityDescription 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) or withLogins(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 IdentityDescription 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 IdentityDescription 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 IdentityDescription 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public IdentityDescription clone()
      Overrides:
      clone in class Object