public class SearchPromptsRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Searches prompts in an Amazon Connect instance, with optional filtering.
| Constructor and Description |
|---|
SearchPromptsRequest() |
| 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.
|
PromptSearchCriteria |
getSearchCriteria()
The search criteria to be used to return prompts.
|
PromptSearchFilter |
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(PromptSearchCriteria searchCriteria)
The search criteria to be used to return prompts.
|
void |
setSearchFilter(PromptSearchFilter searchFilter)
Filters to be applied to search results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchPromptsRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
SearchPromptsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
SearchPromptsRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
SearchPromptsRequest |
withSearchCriteria(PromptSearchCriteria searchCriteria)
The search criteria to be used to return prompts.
|
SearchPromptsRequest |
withSearchFilter(PromptSearchFilter 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 SearchPromptsRequest 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 SearchPromptsRequest 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 SearchPromptsRequest 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 PromptSearchFilter getSearchFilter()
Filters to be applied to search results.
Filters to be applied to search results.
public void setSearchFilter(PromptSearchFilter searchFilter)
Filters to be applied to search results.
searchFilter - Filters to be applied to search results.
public SearchPromptsRequest withSearchFilter(PromptSearchFilter 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 PromptSearchCriteria getSearchCriteria()
The search criteria to be used to return prompts.
The search criteria to be used to return prompts.
public void setSearchCriteria(PromptSearchCriteria searchCriteria)
The search criteria to be used to return prompts.
searchCriteria - The search criteria to be used to return prompts.
public SearchPromptsRequest withSearchCriteria(PromptSearchCriteria searchCriteria)
The search criteria to be used to return prompts.
Returns a reference to this object so that method calls can be chained together.
searchCriteria - The search criteria to be used to return prompts.
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