@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseRetrieveAndGenerateConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the resource being queried.
| Constructor and Description |
|---|
KnowledgeBaseRetrieveAndGenerateConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
KnowledgeBaseRetrieveAndGenerateConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getKnowledgeBaseId()
The unique identifier of the knowledge base that is queried and the foundation model used for generation.
|
String |
getModelArn()
The ARN of the foundation model used to generate a response.
|
KnowledgeBaseRetrievalConfiguration |
getRetrievalConfiguration()
Contains configurations for how to retrieve and return the knowledge base query.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that is queried and the foundation model used for generation.
|
void |
setModelArn(String modelArn)
The ARN of the foundation model used to generate a response.
|
void |
setRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for how to retrieve and return the knowledge base query.
|
String |
toString()
Returns a string representation of this object.
|
KnowledgeBaseRetrieveAndGenerateConfiguration |
withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that is queried and the foundation model used for generation.
|
KnowledgeBaseRetrieveAndGenerateConfiguration |
withModelArn(String modelArn)
The ARN of the foundation model used to generate a response.
|
KnowledgeBaseRetrieveAndGenerateConfiguration |
withRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for how to retrieve and return the knowledge base query.
|
public KnowledgeBaseRetrieveAndGenerateConfiguration()
public void setKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that is queried and the foundation model used for generation.
knowledgeBaseId - The unique identifier of the knowledge base that is queried and the foundation model used for generation.public String getKnowledgeBaseId()
The unique identifier of the knowledge base that is queried and the foundation model used for generation.
public KnowledgeBaseRetrieveAndGenerateConfiguration withKnowledgeBaseId(String knowledgeBaseId)
The unique identifier of the knowledge base that is queried and the foundation model used for generation.
knowledgeBaseId - The unique identifier of the knowledge base that is queried and the foundation model used for generation.public void setModelArn(String modelArn)
The ARN of the foundation model used to generate a response.
modelArn - The ARN of the foundation model used to generate a response.public String getModelArn()
The ARN of the foundation model used to generate a response.
public KnowledgeBaseRetrieveAndGenerateConfiguration withModelArn(String modelArn)
The ARN of the foundation model used to generate a response.
modelArn - The ARN of the foundation model used to generate a response.public void setRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for how to retrieve and return the knowledge base query.
retrievalConfiguration - Contains configurations for how to retrieve and return the knowledge base query.public KnowledgeBaseRetrievalConfiguration getRetrievalConfiguration()
Contains configurations for how to retrieve and return the knowledge base query.
public KnowledgeBaseRetrieveAndGenerateConfiguration withRetrievalConfiguration(KnowledgeBaseRetrievalConfiguration retrievalConfiguration)
Contains configurations for how to retrieve and return the knowledge base query.
retrievalConfiguration - Contains configurations for how to retrieve and return the knowledge base query.public String toString()
toString in class ObjectObject.toString()public KnowledgeBaseRetrieveAndGenerateConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.