public class SearchUsersRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Searches users in an Amazon Connect instance, with optional filtering.
AfterContactWorkTimeLimit is returned in milliseconds.
| Constructor and Description |
|---|
SearchUsersRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return per page.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
UserSearchCriteria |
getSearchCriteria()
The search criteria to be used to return users.
|
UserSearchFilter |
getSearchFilter()
Filters to be applied to search results.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
void |
setSearchCriteria(UserSearchCriteria searchCriteria)
The search criteria to be used to return users.
|
void |
setSearchFilter(UserSearchFilter searchFilter)
Filters to be applied to search results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchUsersRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
SearchUsersRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
SearchUsersRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
SearchUsersRequest |
withSearchCriteria(UserSearchCriteria searchCriteria)
The search criteria to be used to return users.
|
SearchUsersRequest |
withSearchFilter(UserSearchFilter searchFilter)
Filters to be applied to search results.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public SearchUsersRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Constraints:
Length: 1 - 2500
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Constraints:
Length: 1 - 2500
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public SearchUsersRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2500
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public java.lang.Integer getMaxResults()
The maximum number of results to return per page.
Constraints:
Range: 1 - 100
The maximum number of results to return per page.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
public SearchUsersRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
public UserSearchFilter getSearchFilter()
Filters to be applied to search results.
Filters to be applied to search results.
public void setSearchFilter(UserSearchFilter searchFilter)
Filters to be applied to search results.
searchFilter - Filters to be applied to search results.
public SearchUsersRequest withSearchFilter(UserSearchFilter searchFilter)
Filters to be applied to search results.
Returns a reference to this object so that method calls can be chained together.
searchFilter - Filters to be applied to search results.
public UserSearchCriteria getSearchCriteria()
The search criteria to be used to return users.
The name and description fields support
"contains" queries with a minimum of 2 characters and a maximum of 25
characters. Any queries with character lengths outside of this range will
throw invalid results.
The search criteria to be used to return users.
The name and description fields support
"contains" queries with a minimum of 2 characters and a maximum
of 25 characters. Any queries with character lengths outside of
this range will throw invalid results.
public void setSearchCriteria(UserSearchCriteria searchCriteria)
The search criteria to be used to return users.
The name and description fields support
"contains" queries with a minimum of 2 characters and a maximum of 25
characters. Any queries with character lengths outside of this range will
throw invalid results.
searchCriteria - The search criteria to be used to return users.
The name and description fields
support "contains" queries with a minimum of 2 characters and
a maximum of 25 characters. Any queries with character lengths
outside of this range will throw invalid results.
public SearchUsersRequest withSearchCriteria(UserSearchCriteria searchCriteria)
The search criteria to be used to return users.
The name and description fields support
"contains" queries with a minimum of 2 characters and a maximum of 25
characters. Any queries with character lengths outside of this range will
throw invalid results.
Returns a reference to this object so that method calls can be chained together.
searchCriteria - The search criteria to be used to return users.
The name and description fields
support "contains" queries with a minimum of 2 characters and
a maximum of 25 characters. Any queries with character lengths
outside of this range will throw invalid results.
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