@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 API operations. |
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 API operations. |
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 API operations. |
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
API operations. This value
is generated by the identity store service. It is returned in the API response if the total results are more than
the size of one page. This token is also returned when it is used in the API request to search for the next page.
nextToken
- The pagination token used for the ListUsers
and ListGroups
API operations. This
value is generated by the identity store service. It is returned in the API response if the total results
are more than the size of one page. This token is also returned when it is used in the API request to
search for the next page.public String getNextToken()
The pagination token used for the ListUsers
and ListGroups
API operations. This value
is generated by the identity store service. It is returned in the API response if the total results are more than
the size of one page. This token is also returned when it is used in the API request to search for the next page.
ListUsers
and ListGroups
API operations. This
value is generated by the identity store service. It is returned in the API response if the total results
are more than the size of one page. This token is also returned when it 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
API operations. This value
is generated by the identity store service. It is returned in the API response if the total results are more than
the size of one page. This token is also returned when it is used in the API request to search for the next page.
nextToken
- The pagination token used for the ListUsers
and ListGroups
API operations. This
value is generated by the identity store service. It is returned in the API response if the total results
are more than the size of one page. This token is also returned when it is used in the API request to
search for the next page.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()