@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeUsersResult() |
Modifier and Type | Method and Description |
---|---|
DescribeUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
List<User> |
getUsers()
Information about users in the user pool.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setUsers(Collection<User> users)
Information about users in the user pool.
|
String |
toString()
Returns a string representation of this object.
|
DescribeUsersResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
DescribeUsersResult |
withUsers(Collection<User> users)
Information about users in the user pool.
|
DescribeUsersResult |
withUsers(User... users)
Information about users in the user pool.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<User> getUsers()
Information about users in the user pool.
public void setUsers(Collection<User> users)
Information about users in the user pool.
users
- Information about users in the user pool.public DescribeUsersResult withUsers(User... users)
Information about users in the user pool.
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.
users
- Information about users in the user pool.public DescribeUsersResult withUsers(Collection<User> users)
Information about users in the user pool.
users
- Information about users in the user pool.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public DescribeUsersResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public DescribeUsersResult clone()