@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 token to use to retrieve the next page of results.
|
List<User> |
getUsers()
List of users and user details.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setUsers(Collection<User> users)
List of users and user details.
|
String |
toString()
Returns a string representation of this object.
|
ListUsersResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
ListUsersResult |
withUsers(Collection<User> users)
List of users and user details.
|
ListUsersResult |
withUsers(User... users)
List of users and user details.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<User> getUsers()
List of users and user details.
public void setUsers(Collection<User> users)
List of users and user details.
users
- List of users and user details.public ListUsersResult withUsers(User... users)
List of users and user details.
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
- List of users and user details.public ListUsersResult withUsers(Collection<User> users)
List of users and user details.
users
- List of users and user details.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public ListUsersResult withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()
Copyright © 2020. All rights reserved.