@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QueryAssistantRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
QueryAssistantRequest() |
Modifier and Type | Method and Description |
---|---|
QueryAssistantRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssistantId()
The identifier of the Amazon Q in Connect assistant.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
List<QueryCondition> |
getQueryCondition()
Information about how to query content.
|
String |
getQueryText()
The text to search for.
|
String |
getSessionId()
The identifier of the Amazon Q in Connect session.
|
int |
hashCode() |
void |
setAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant.
|
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 |
setQueryCondition(Collection<QueryCondition> queryCondition)
Information about how to query content.
|
void |
setQueryText(String queryText)
The text to search for.
|
void |
setSessionId(String sessionId)
The identifier of the Amazon Q in Connect session.
|
String |
toString()
Returns a string representation of this object.
|
QueryAssistantRequest |
withAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant.
|
QueryAssistantRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
QueryAssistantRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
QueryAssistantRequest |
withQueryCondition(Collection<QueryCondition> queryCondition)
Information about how to query content.
|
QueryAssistantRequest |
withQueryCondition(QueryCondition... queryCondition)
Information about how to query content.
|
QueryAssistantRequest |
withQueryText(String queryText)
The text to search for.
|
QueryAssistantRequest |
withSessionId(String sessionId)
The identifier of the Amazon Q in Connect session.
|
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 void setAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain
the ARN.public String getAssistantId()
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
public QueryAssistantRequest withAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Amazon Q in Connect assistant. 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 QueryAssistantRequest 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 QueryAssistantRequest 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 List<QueryCondition> getQueryCondition()
Information about how to query content.
public void setQueryCondition(Collection<QueryCondition> queryCondition)
Information about how to query content.
queryCondition
- Information about how to query content.public QueryAssistantRequest withQueryCondition(QueryCondition... queryCondition)
Information about how to query content.
NOTE: This method appends the values to the existing list (if any). Use
setQueryCondition(java.util.Collection)
or withQueryCondition(java.util.Collection)
if you want
to override the existing values.
queryCondition
- Information about how to query content.public QueryAssistantRequest withQueryCondition(Collection<QueryCondition> queryCondition)
Information about how to query content.
queryCondition
- Information about how to query content.public void setQueryText(String queryText)
The text to search for.
queryText
- The text to search for.public String getQueryText()
The text to search for.
public QueryAssistantRequest withQueryText(String queryText)
The text to search for.
queryText
- The text to search for.public void setSessionId(String sessionId)
The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sessionId
- The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain
the ARN.public String getSessionId()
The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain the ARN.
public QueryAssistantRequest withSessionId(String sessionId)
The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sessionId
- The identifier of the Amazon Q in Connect session. Can be either the ID or the ARN. URLs cannot contain
the ARN.public String toString()
toString
in class Object
Object.toString()
public QueryAssistantRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()