@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrieveRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RetrieveRequest() |
Modifier and Type | Method and Description |
---|---|
RetrieveRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base to query.
|
String |
getNextToken()
If there are more results than can fit in the response, the response returns a
nextToken . |
KnowledgeBaseRetrievalConfiguration |
getRetrievalConfiguration()
Contains configurations for the knowledge base query and retrieval process.
|
KnowledgeBaseQuery |
getRetrievalQuery()
Contains the query to send the knowledge base.
|
int |
hashCode() |
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to query.
|
void |
setNextToken(String nextToken)
If there are more results than can fit in the response, the response returns a
nextToken . |
void |
setRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for the knowledge base query and retrieval process.
|
void |
setRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
Contains the query to send the knowledge base.
|
String |
toString()
Returns a string representation of this object.
|
RetrieveRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to query.
|
RetrieveRequest |
withNextToken(String nextToken)
If there are more results than can fit in the response, the response returns a
nextToken . |
RetrieveRequest |
withRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for the knowledge base query and retrieval process.
|
RetrieveRequest |
withRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
Contains the query to send the knowledge base.
|
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 setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to query.
knowledgeBaseId
- The unique identifier of the knowledge base to query.public String getKnowledgeBaseId()
The unique identifier of the knowledge base to query.
public RetrieveRequest withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base to query.
knowledgeBaseId
- The unique identifier of the knowledge base to query.public void setNextToken(String nextToken)
If there are more results than can fit in the response, the response returns a nextToken
. Use this
token in the nextToken
field of another request to retrieve the next batch of results.
nextToken
- If there are more results than can fit in the response, the response returns a nextToken
. Use
this token in the nextToken
field of another request to retrieve the next batch of results.public String getNextToken()
If there are more results than can fit in the response, the response returns a nextToken
. Use this
token in the nextToken
field of another request to retrieve the next batch of results.
nextToken
.
Use this token in the nextToken
field of another request to retrieve the next batch of
results.public RetrieveRequest withNextToken(String nextToken)
If there are more results than can fit in the response, the response returns a nextToken
. Use this
token in the nextToken
field of another request to retrieve the next batch of results.
nextToken
- If there are more results than can fit in the response, the response returns a nextToken
. Use
this token in the nextToken
field of another request to retrieve the next batch of results.public void setRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
retrievalConfiguration
- Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.public KnowledgeBaseRetrievalConfiguration getRetrievalConfiguration()
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
public RetrieveRequest withRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
retrievalConfiguration
- Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.public void setRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
Contains the query to send the knowledge base.
retrievalQuery
- Contains the query to send the knowledge base.public KnowledgeBaseQuery getRetrievalQuery()
Contains the query to send the knowledge base.
public RetrieveRequest withRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
Contains the query to send the knowledge base.
retrievalQuery
- Contains the query to send the knowledge base.public String toString()
toString
in class Object
Object.toString()
public RetrieveRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()