Class ListUsersResult

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

public class ListUsersResult extends Object implements Serializable, Cloneable

The response from the request to list users.

See Also:
  • Constructor Details

    • ListUsersResult

      public ListUsersResult()
  • Method Details

    • getUsers

      public List<UserType> getUsers()

      The users returned in the request to list users.

      Returns:
      The users returned in the request to list users.
    • setUsers

      public void setUsers(Collection<UserType> users)

      The users returned in the request to list users.

      Parameters:
      users - The users returned in the request to list users.
    • withUsers

      public ListUsersResult withUsers(UserType... users)

      The users returned in the request to list users.

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

      Parameters:
      users - The users returned in the request to list users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withUsers

      public ListUsersResult withUsers(Collection<UserType> users)

      The users returned in the request to list users.

      Parameters:
      users - The users returned in the request to list users.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPaginationToken

      public void setPaginationToken(String paginationToken)

      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:
      paginationToken - 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.
    • getPaginationToken

      public String getPaginationToken()

      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.
    • withPaginationToken

      public ListUsersResult withPaginationToken(String paginationToken)

      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:
      paginationToken - 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 ListUsersResult clone()
      Overrides:
      clone in class Object