public class ListUsersResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The response from the request to list users.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
paginationToken
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
private java.util.List<UserType> |
users
The users returned in the request to list users.
|
Constructor and Description |
---|
ListUsersResult() |
Modifier and Type | Method and Description |
---|---|
ListUsersResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPaginationToken()
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
java.util.List<UserType> |
getUsers()
The users returned in the request to list users.
|
int |
hashCode() |
void |
setPaginationToken(java.lang.String paginationToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
void |
setUsers(java.util.Collection<UserType> users)
The users returned in the request to list users.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUsersResult |
withPaginationToken(java.lang.String paginationToken)
An identifier that was returned from the previous call to this operation,
which can be used to return the next set of items in the list.
|
ListUsersResult |
withUsers(java.util.Collection<UserType> users)
The users returned in the request to list users.
|
ListUsersResult |
withUsers(UserType... users)
The users returned in the request to list users.
|
private java.util.List<UserType> users
The users returned in the request to list users.
private java.lang.String paginationToken
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public java.util.List<UserType> getUsers()
The users returned in the request to list users.
public void setUsers(java.util.Collection<UserType> users)
The users returned in the request to list users.
users
- The users returned in the request to list users.public ListUsersResult withUsers(UserType... users)
The users returned in the request to list 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
- The users returned in the request to list users.public ListUsersResult withUsers(java.util.Collection<UserType> users)
The users returned in the request to list users.
users
- The users returned in the request to list users.public void setPaginationToken(java.lang.String paginationToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
paginationToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in
the list.public java.lang.String getPaginationToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public ListUsersResult withPaginationToken(java.lang.String paginationToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
paginationToken
- An identifier that was returned from the previous call to this
operation, which can be used to return the next set of items in
the list.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListUsersResult clone()
clone
in class java.lang.Object