@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchUsersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchUsersResult() |
Modifier and Type | Method and Description |
---|---|
SearchUsersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token returned to indicate that there is more data available.
|
Integer |
getTotalCount()
The total number of users returned.
|
List<UserData> |
getUsers()
The users that meet the specified set of filter criteria, in sort order.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
void |
setTotalCount(Integer totalCount)
The total number of users returned.
|
void |
setUsers(Collection<UserData> users)
The users that meet the specified set of filter criteria, in sort order.
|
String |
toString()
Returns a string representation of this object.
|
SearchUsersResult |
withNextToken(String nextToken)
The token returned to indicate that there is more data available.
|
SearchUsersResult |
withTotalCount(Integer totalCount)
The total number of users returned.
|
SearchUsersResult |
withUsers(Collection<UserData> users)
The users that meet the specified set of filter criteria, in sort order.
|
SearchUsersResult |
withUsers(UserData... users)
The users that meet the specified set of filter criteria, in sort order.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UserData> getUsers()
The users that meet the specified set of filter criteria, in sort order.
public void setUsers(Collection<UserData> users)
The users that meet the specified set of filter criteria, in sort order.
users
- The users that meet the specified set of filter criteria, in sort order.public SearchUsersResult withUsers(UserData... users)
The users that meet the specified set of filter criteria, in sort order.
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 that meet the specified set of filter criteria, in sort order.public SearchUsersResult withUsers(Collection<UserData> users)
The users that meet the specified set of filter criteria, in sort order.
users
- The users that meet the specified set of filter criteria, in sort order.public void setNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public String getNextToken()
The token returned to indicate that there is more data available.
public SearchUsersResult withNextToken(String nextToken)
The token returned to indicate that there is more data available.
nextToken
- The token returned to indicate that there is more data available.public void setTotalCount(Integer totalCount)
The total number of users returned.
totalCount
- The total number of users returned.public Integer getTotalCount()
The total number of users returned.
public SearchUsersResult withTotalCount(Integer totalCount)
The total number of users returned.
totalCount
- The total number of users returned.public String toString()
toString
in class Object
Object.toString()
public SearchUsersResult clone()