Class ListIdentitiesResult

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

public class ListIdentitiesResult extends Object implements Serializable, Cloneable
The response to a ListIdentities request.
See Also:
  • Constructor Details

    • ListIdentitiesResult

      public ListIdentitiesResult()
  • Method Details

    • setIdentityPoolId

      public void setIdentityPoolId(String identityPoolId)
      An identity pool ID in the format REGION:GUID.
      Parameters:
      identityPoolId - An identity pool ID in the format REGION:GUID.
    • getIdentityPoolId

      public String getIdentityPoolId()
      An identity pool ID in the format REGION:GUID.
      Returns:
      An identity pool ID in the format REGION:GUID.
    • withIdentityPoolId

      public ListIdentitiesResult withIdentityPoolId(String identityPoolId)
      An identity pool ID in the format REGION:GUID.
      Parameters:
      identityPoolId - An identity pool ID in the format REGION:GUID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getIdentities

      public List<IdentityDescription> getIdentities()
      An object containing a set of identities and associated mappings.
      Returns:
      An object containing a set of identities and associated mappings.
    • setIdentities

      public void setIdentities(Collection<IdentityDescription> identities)
      An object containing a set of identities and associated mappings.
      Parameters:
      identities - An object containing a set of identities and associated mappings.
    • withIdentities

      public ListIdentitiesResult withIdentities(IdentityDescription... identities)
      An object containing a set of identities and associated mappings.

      NOTE: This method appends the values to the existing list (if any). Use setIdentities(java.util.Collection) or withIdentities(java.util.Collection) if you want to override the existing values.

      Parameters:
      identities - An object containing a set of identities and associated mappings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withIdentities

      public ListIdentitiesResult withIdentities(Collection<IdentityDescription> identities)
      An object containing a set of identities and associated mappings.
      Parameters:
      identities - An object containing a set of identities and associated mappings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)
      A pagination token.
      Parameters:
      nextToken - A pagination token.
    • getNextToken

      public String getNextToken()
      A pagination token.
      Returns:
      A pagination token.
    • withNextToken

      public ListIdentitiesResult withNextToken(String nextToken)
      A pagination token.
      Parameters:
      nextToken - A pagination token.
      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 ListIdentitiesResult clone()
      Overrides:
      clone in class Object