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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListUsersResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListUsersResult
clone()
boolean
equals(Object obj)
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.List<UserType>
getUsers()
The users returned in the request to list users.int
hashCode()
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.void
setUsers(Collection<UserType> users)
The users returned in the request to list users.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.ListUsersResult
withUsers(UserType... users)
The users returned in the request to list users.ListUsersResult
withUsers(Collection<UserType> users)
The users returned in the request to list users.
-
-
-
Method Detail
-
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)
orwithUsers(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListUsersResult clone()
-
-