Class ListUserPoolsResult

java.lang.Object
com.amazonaws.services.cognitoidp.model.ListUserPoolsResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListUserPoolsResult extends Object implements Serializable, Cloneable

Represents the response to list user pools.

See Also:
  • Constructor Details

    • ListUserPoolsResult

      public ListUserPoolsResult()
  • Method Details

    • getUserPools

      public List<UserPoolDescriptionType> getUserPools()

      The user pools from the response to list users.

      Returns:
      The user pools from the response to list users.
    • setUserPools

      public void setUserPools(Collection<UserPoolDescriptionType> userPools)

      The user pools from the response to list users.

      Parameters:
      userPools - The user pools from the response to list users.
    • withUserPools

      public ListUserPoolsResult withUserPools(UserPoolDescriptionType... userPools)

      The user pools from the response to list users.

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

      Parameters:
      userPools - The user pools from the response to list users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withUserPools

      public ListUserPoolsResult withUserPools(Collection<UserPoolDescriptionType> userPools)

      The user pools from the response to list users.

      Parameters:
      userPools - The user pools from the response to list users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNextToken

      public void setNextToken(String nextToken)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
    • getNextToken

      public String getNextToken()

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Returns:
      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
    • withNextToken

      public ListUserPoolsResult withNextToken(String nextToken)

      An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

      Parameters:
      nextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
      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 ListUserPoolsResult clone()
      Overrides:
      clone in class Object