@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 made to the knowledge base.
|
RetrieveAndGenerateConfiguration |
getRetrieveAndGenerateConfiguration()
Contains details about the resource being queried and the foundation model used for generation.
|
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 made to the knowledge base.
|
void |
setRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains details about the resource being queried and the foundation model used for generation.
|
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 made to the knowledge base.
|
RetrieveAndGenerateRequest |
withRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains details about the resource being queried and the foundation model used for generation.
|
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 made to the knowledge base.
input
- Contains the query made to the knowledge base.public RetrieveAndGenerateInput getInput()
Contains the query made to the knowledge base.
public RetrieveAndGenerateRequest withInput(RetrieveAndGenerateInput input)
Contains the query made to the knowledge base.
input
- Contains the query made to the knowledge base.public void setRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains details about the resource being queried and the foundation model used for generation.
retrieveAndGenerateConfiguration
- Contains details about the resource being queried and the foundation model used for generation.public RetrieveAndGenerateConfiguration getRetrieveAndGenerateConfiguration()
Contains details about the resource being queried and the foundation model used for generation.
public RetrieveAndGenerateRequest withRetrieveAndGenerateConfiguration(RetrieveAndGenerateConfiguration retrieveAndGenerateConfiguration)
Contains details about the resource being queried and the foundation model used for generation.
retrieveAndGenerateConfiguration
- Contains details about the resource being queried and the foundation model used for generation.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. Reuse the same value to continue the same session with the knowledge base.
sessionId
- The unique identifier of the session. Reuse the same value to continue the same session with the knowledge
base.public String getSessionId()
The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base.
public RetrieveAndGenerateRequest withSessionId(String sessionId)
The unique identifier of the session. Reuse the same value to continue the same session with the knowledge base.
sessionId
- The unique identifier of the session. Reuse the same value to continue the same session with the knowledge
base.public String toString()
toString
in class Object
Object.toString()
public RetrieveAndGenerateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()