@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RetrieveAndGenerateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
RetrieveAndGenerateRequest() |
Modifier and Type | Method and Description |
---|---|
RetrieveAndGenerateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
RetrieveAndGenerateInput |
getInput()
Contains the query to be made to the knowledge base.
|
RetrieveAndGenerateConfiguration |
getRetrieveAndGenerateConfiguration()
Contains configurations for the knowledge base query and retrieval process.
|
RetrieveAndGenerateSessionConfiguration |
getSessionConfiguration()
Contains details about the session with the knowledge base.
|
String |
getSessionId()
The unique identifier of the session.
|
int |
hashCode() |
void |
setInput(RetrieveAndGenerateInput input)
Contains the query to be made to the knowledge base.
|
void |
setRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains configurations for the knowledge base query and retrieval process.
|
void |
setSessionConfiguration(RetrieveAndGenerateSessionConfiguration sessionConfiguration)
Contains details about the session with the knowledge base.
|
void |
setSessionId(String sessionId)
The unique identifier of the session.
|
String |
toString()
Returns a string representation of this object.
|
RetrieveAndGenerateRequest |
withInput(RetrieveAndGenerateInput input)
Contains the query to be made to the knowledge base.
|
RetrieveAndGenerateRequest |
withRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains configurations for the knowledge base query and retrieval process.
|
RetrieveAndGenerateRequest |
withSessionConfiguration(RetrieveAndGenerateSessionConfiguration sessionConfiguration)
Contains details about the session with the knowledge base.
|
RetrieveAndGenerateRequest |
withSessionId(String sessionId)
The unique identifier of the 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 setInput(RetrieveAndGenerateInput input)
Contains the query to be made to the knowledge base.
input
- Contains the query to be made to the knowledge base.public RetrieveAndGenerateInput getInput()
Contains the query to be made to the knowledge base.
public RetrieveAndGenerateRequest withInput(RetrieveAndGenerateInput input)
Contains the query to be made to the knowledge base.
input
- Contains the query to be made to the knowledge base.public void setRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
retrieveAndGenerateConfiguration
- Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.public RetrieveAndGenerateConfiguration getRetrieveAndGenerateConfiguration()
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
public RetrieveAndGenerateRequest withRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
retrieveAndGenerateConfiguration
- Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.public void setSessionConfiguration(RetrieveAndGenerateSessionConfiguration sessionConfiguration)
Contains details about the session with the knowledge base.
sessionConfiguration
- Contains details about the session with the knowledge base.public RetrieveAndGenerateSessionConfiguration getSessionConfiguration()
Contains details about the session with the knowledge base.
public RetrieveAndGenerateRequest withSessionConfiguration(RetrieveAndGenerateSessionConfiguration sessionConfiguration)
Contains details about the session with the knowledge base.
sessionConfiguration
- Contains details about the session with the knowledge base.public void setSessionId(String sessionId)
The unique identifier of the session. When you first make a RetrieveAndGenerate
request, Amazon
Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same
conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous
interactions. You can't explicitly set the sessionId
yourself.
sessionId
- The unique identifier of the session. When you first make a RetrieveAndGenerate
request,
Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests
in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge
from previous interactions. You can't explicitly set the sessionId
yourself.public String getSessionId()
The unique identifier of the session. When you first make a RetrieveAndGenerate
request, Amazon
Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same
conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous
interactions. You can't explicitly set the sessionId
yourself.
RetrieveAndGenerate
request,
Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests
in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge
from previous interactions. You can't explicitly set the sessionId
yourself.public RetrieveAndGenerateRequest withSessionId(String sessionId)
The unique identifier of the session. When you first make a RetrieveAndGenerate
request, Amazon
Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same
conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous
interactions. You can't explicitly set the sessionId
yourself.
sessionId
- The unique identifier of the session. When you first make a RetrieveAndGenerate
request,
Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests
in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge
from previous interactions. You can't explicitly set the sessionId
yourself.public String toString()
toString
in class Object
Object.toString()
public RetrieveAndGenerateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()