@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListUsersResult() |
Modifier and Type | Method and Description |
---|---|
ListUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token used for the
ListUsers and ListGroups APIs. |
List<User> |
getUsers()
A list of
User objects in the identity store. |
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token used for the
ListUsers and ListGroups APIs. |
void |
setUsers(Collection<User> users)
A list of
User objects in the identity store. |
String |
toString()
Returns a string representation of this object.
|
ListUsersResult |
withNextToken(String nextToken)
The pagination token used for the
ListUsers and ListGroups APIs. |
ListUsersResult |
withUsers(Collection<User> users)
A list of
User objects in the identity store. |
ListUsersResult |
withUsers(User... users)
A list of
User objects in the identity store. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<User> getUsers()
A list of User
objects in the identity store.
User
objects in the identity store.public void setUsers(Collection<User> users)
A list of User
objects in the identity store.
users
- A list of User
objects in the identity store.public ListUsersResult withUsers(User... users)
A list of User
objects in the identity store.
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
- A list of User
objects in the identity store.public ListUsersResult withUsers(Collection<User> users)
A list of User
objects in the identity store.
users
- A list of User
objects in the identity store.public void setNextToken(String nextToken)
The pagination token used for the ListUsers
and ListGroups
APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more than
the size of one page, and when this token is used in the API request to search for the next page.
nextToken
- The pagination token used for the ListUsers
and ListGroups
APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more
than the size of one page, and when this token is used in the API request to search for the next page.public String getNextToken()
The pagination token used for the ListUsers
and ListGroups
APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more than
the size of one page, and when this token is used in the API request to search for the next page.
ListUsers
and ListGroups
APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more
than the size of one page, and when this token is used in the API request to search for the next page.public ListUsersResult withNextToken(String nextToken)
The pagination token used for the ListUsers
and ListGroups
APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more than
the size of one page, and when this token is used in the API request to search for the next page.
nextToken
- The pagination token used for the ListUsers
and ListGroups
APIs. This value is
generated by the identity store service and is returned in the API response if the total results are more
than the size of one page, and when this token is used in the API request to search for the next page.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()