@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()
A token that indicates where a results page should begin.
|
List<User> |
getUsers()
A list of all the users.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that indicates where a results page should begin.
|
void |
setUsers(Collection<User> users)
A list of all the users.
|
String |
toString()
Returns a string representation of this object.
|
ListUsersResult |
withNextToken(String nextToken)
A token that indicates where a results page should begin.
|
ListUsersResult |
withUsers(Collection<User> users)
A list of all the users.
|
ListUsersResult |
withUsers(User... users)
A list of all the users.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUsers(Collection<User> users)
A list of all the users.
users
- A list of all the users.public ListUsersResult withUsers(User... users)
A list of all the 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.
users
- A list of all the users.public ListUsersResult withUsers(Collection<User> users)
A list of all the users.
users
- A list of all the users.public void setNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String getNextToken()
A token that indicates where a results page should begin.
public ListUsersResult withNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()