@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 details about how the results should be returned.
|
KnowledgeBaseQuery |
getRetrievalQuery()
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 details about how the results should be returned.
|
void |
setRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
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 details about how the results should be returned.
|
RetrieveRequest |
withRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
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 details about how the results should be returned.
retrievalConfiguration
- Contains details about how the results should be returned.public KnowledgeBaseRetrievalConfiguration getRetrievalConfiguration()
Contains details about how the results should be returned.
public RetrieveRequest withRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains details about how the results should be returned.
retrievalConfiguration
- Contains details about how the results should be returned.public void setRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
The query to send the knowledge base.
retrievalQuery
- The query to send the knowledge base.public KnowledgeBaseQuery getRetrievalQuery()
The query to send the knowledge base.
public RetrieveRequest withRetrievalQuery(KnowledgeBaseQuery retrievalQuery)
The query to send the knowledge base.
retrievalQuery
- 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()