@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchQuickResponsesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchQuickResponsesRequest() |
Modifier and Type | Method and Description |
---|---|
SearchQuickResponsesRequest |
addAttributesEntry(String key,
String value)
Add a single Attributes entry
|
SearchQuickResponsesRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
SearchQuickResponsesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
QuickResponseSearchExpression |
getSearchExpression()
The search expression for querying the quick response.
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
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 |
setSearchExpression(QuickResponseSearchExpression searchExpression)
The search expression for querying the quick response.
|
String |
toString()
Returns a string representation of this object.
|
SearchQuickResponsesRequest |
withAttributes(Map<String,String> attributes)
The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
|
SearchQuickResponsesRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
SearchQuickResponsesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
SearchQuickResponsesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
SearchQuickResponsesRequest |
withSearchExpression(QuickResponseSearchExpression searchExpression)
The search expression for querying the quick response.
|
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, withSdkRequestTimeout
public Map<String,String> getAttributes()
The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
public void setAttributes(Map<String,String> attributes)
The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
attributes
- The user-defined Amazon Connect contact attributes to be resolved when search results are returned.public SearchQuickResponsesRequest withAttributes(Map<String,String> attributes)
The user-defined Amazon Connect contact attributes to be resolved when search results are returned.
attributes
- The user-defined Amazon Connect contact attributes to be resolved when search results are returned.public SearchQuickResponsesRequest addAttributesEntry(String key, String value)
public SearchQuickResponsesRequest clearAttributesEntries()
public void setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either
the ID or the ARN. URLs cannot contain the ARN.public String getKnowledgeBaseId()
The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
public SearchQuickResponsesRequest withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. This should be a QUICK_RESPONSES type knowledge base. Can be either
the ID or the ARN. URLs cannot contain the ARN.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 SearchQuickResponsesRequest 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 SearchQuickResponsesRequest 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 setSearchExpression(QuickResponseSearchExpression searchExpression)
The search expression for querying the quick response.
searchExpression
- The search expression for querying the quick response.public QuickResponseSearchExpression getSearchExpression()
The search expression for querying the quick response.
public SearchQuickResponsesRequest withSearchExpression(QuickResponseSearchExpression searchExpression)
The search expression for querying the quick response.
searchExpression
- The search expression for querying the quick response.public String toString()
toString
in class Object
Object.toString()
public SearchQuickResponsesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()