@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()
The overview of users for an organization.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setUsers(Collection<User> users)
The overview of users for an organization.
|
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)
The overview of users for an organization.
|
ListUsersResult |
withUsers(User... users)
The overview of users for an organization.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<User> getUsers()
The overview of users for an organization.
public void setUsers(Collection<User> users)
The overview of users for an organization.
users
- The overview of users for an organization.public ListUsersResult withUsers(User... users)
The overview of users for an organization.
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
- The overview of users for an organization.public ListUsersResult withUsers(Collection<User> users)
The overview of users for an organization.
users
- The overview of users for an organization.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is `null` when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.
public ListUsersResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is `null` when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is `null` when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public ListUsersResult clone()