public class SearchUsersResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
SearchUsersResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getApproximateTotalCount()
The total number of users who matched your search query.
|
java.lang.String |
getNextToken()
If there are additional results, this is the token for the next set of
results.
|
java.util.List<UserSearchSummary> |
getUsers()
Information about the users.
|
int |
hashCode() |
void |
setApproximateTotalCount(java.lang.Long approximateTotalCount)
The total number of users who matched your search query.
|
void |
setNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of
results.
|
void |
setUsers(java.util.Collection<UserSearchSummary> users)
Information about the users.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchUsersResult |
withApproximateTotalCount(java.lang.Long approximateTotalCount)
The total number of users who matched your search query.
|
SearchUsersResult |
withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of
results.
|
SearchUsersResult |
withUsers(java.util.Collection<UserSearchSummary> users)
Information about the users.
|
SearchUsersResult |
withUsers(UserSearchSummary... users)
Information about the users.
|
public java.util.List<UserSearchSummary> getUsers()
Information about the users.
Information about the users.
public void setUsers(java.util.Collection<UserSearchSummary> users)
Information about the users.
users - Information about the users.
public SearchUsersResult withUsers(UserSearchSummary... users)
Information about the users.
Returns a reference to this object so that method calls can be chained together.
users - Information about the users.
public SearchUsersResult withUsers(java.util.Collection<UserSearchSummary> users)
Information about the users.
Returns a reference to this object so that method calls can be chained together.
users - Information about the users.
public java.lang.String getNextToken()
If there are additional results, this is the token for the next set of results.
Constraints:
Length: 1 - 2500
If there are additional results, this is the token for the next set of results.
public void setNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of results.
Constraints:
Length: 1 - 2500
nextToken - If there are additional results, this is the token for the next set of results.
public SearchUsersResult withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2500
nextToken - If there are additional results, this is the token for the next set of results.
public java.lang.Long getApproximateTotalCount()
The total number of users who matched your search query.
The total number of users who matched your search query.
public void setApproximateTotalCount(java.lang.Long approximateTotalCount)
The total number of users who matched your search query.
approximateTotalCount - The total number of users who matched your search query.
public SearchUsersResult withApproximateTotalCount(java.lang.Long approximateTotalCount)
The total number of users who matched your search query.
Returns a reference to this object so that method calls can be chained together.
approximateTotalCount - The total number of users who matched your search query.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object