Class ListIdentityPoolsResult

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

public class ListIdentityPoolsResult extends Object implements Serializable, Cloneable
The result of a successful ListIdentityPools action.
See Also:
  • Constructor Details

    • ListIdentityPoolsResult

      public ListIdentityPoolsResult()
  • Method Details

    • getIdentityPools

      public List<IdentityPoolShortDescription> getIdentityPools()
      The identity pools returned by the ListIdentityPools action.
      Returns:
      The identity pools returned by the ListIdentityPools action.
    • setIdentityPools

      public void setIdentityPools(Collection<IdentityPoolShortDescription> identityPools)
      The identity pools returned by the ListIdentityPools action.
      Parameters:
      identityPools - The identity pools returned by the ListIdentityPools action.
    • withIdentityPools

      public ListIdentityPoolsResult withIdentityPools(IdentityPoolShortDescription... identityPools)
      The identity pools returned by the ListIdentityPools action.

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

      Parameters:
      identityPools - The identity pools returned by the ListIdentityPools action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withIdentityPools

      public ListIdentityPoolsResult withIdentityPools(Collection<IdentityPoolShortDescription> identityPools)
      The identity pools returned by the ListIdentityPools action.
      Parameters:
      identityPools - The identity pools returned by the ListIdentityPools action.
      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 ListIdentityPoolsResult 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 ListIdentityPoolsResult clone()
      Overrides:
      clone in class Object