@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchContactsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
SearchContactsRequest() |
| Modifier and Type | Method and Description |
|---|---|
SearchContactsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The identifier of Amazon Connect instance.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
SearchCriteria |
getSearchCriteria()
The search criteria to be used to return contacts.
|
Sort |
getSort()
Specifies a field to sort by and a sort order.
|
SearchContactsTimeRange |
getTimeRange()
Time range that you want to search results.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The identifier of Amazon Connect instance.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setSearchCriteria(SearchCriteria searchCriteria)
The search criteria to be used to return contacts.
|
void |
setSort(Sort sort)
Specifies a field to sort by and a sort order.
|
void |
setTimeRange(SearchContactsTimeRange timeRange)
Time range that you want to search results.
|
String |
toString()
Returns a string representation of this object.
|
SearchContactsRequest |
withInstanceId(String instanceId)
The identifier of Amazon Connect instance.
|
SearchContactsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
SearchContactsRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
SearchContactsRequest |
withSearchCriteria(SearchCriteria searchCriteria)
The search criteria to be used to return contacts.
|
SearchContactsRequest |
withSort(Sort sort)
Specifies a field to sort by and a sort order.
|
SearchContactsRequest |
withTimeRange(SearchContactsTimeRange timeRange)
Time range that you want to search results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setInstanceId(String instanceId)
The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN)
of the instance.public String getInstanceId()
The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public SearchContactsRequest withInstanceId(String instanceId)
The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN)
of the instance.public void setTimeRange(SearchContactsTimeRange timeRange)
Time range that you want to search results.
timeRange - Time range that you want to search results.public SearchContactsTimeRange getTimeRange()
Time range that you want to search results.
public SearchContactsRequest withTimeRange(SearchContactsTimeRange timeRange)
Time range that you want to search results.
timeRange - Time range that you want to search results.public void setSearchCriteria(SearchCriteria searchCriteria)
The search criteria to be used to return contacts.
searchCriteria - The search criteria to be used to return contacts.public SearchCriteria getSearchCriteria()
The search criteria to be used to return contacts.
public SearchContactsRequest withSearchCriteria(SearchCriteria searchCriteria)
The search criteria to be used to return contacts.
searchCriteria - The search criteria to be used to return contacts.public void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults - The maximum number of results to return per page.public Integer getMaxResults()
The maximum number of results to return per page.
public SearchContactsRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults - The maximum number of results to return per page.public void setNextToken(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.
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 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.
public SearchContactsRequest withNextToken(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.
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 void setSort(Sort sort)
Specifies a field to sort by and a sort order.
sort - Specifies a field to sort by and a sort order.public Sort getSort()
Specifies a field to sort by and a sort order.
public SearchContactsRequest withSort(Sort sort)
Specifies a field to sort by and a sort order.
sort - Specifies a field to sort by and a sort order.public String toString()
toString in class ObjectObject.toString()public SearchContactsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()