@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BedrockKnowledgeStoreConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the configuration of a Amazon Bedrock knowledge base.
Constructor and Description |
---|
BedrockKnowledgeStoreConfiguration() |
Modifier and Type | Method and Description |
---|---|
BedrockKnowledgeStoreConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBedrockKnowledgeBaseArn()
The base ARN of the knowledge base used.
|
Boolean |
getExactResponse()
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields
you specify from the database.
|
BedrockKnowledgeStoreExactResponseFields |
getExactResponseFields()
Contains the names of the fields used for an exact response to the user.
|
int |
hashCode() |
Boolean |
isExactResponse()
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields
you specify from the database.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn)
The base ARN of the knowledge base used.
|
void |
setExactResponse(Boolean exactResponse)
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields
you specify from the database.
|
void |
setExactResponseFields(BedrockKnowledgeStoreExactResponseFields exactResponseFields)
Contains the names of the fields used for an exact response to the user.
|
String |
toString()
Returns a string representation of this object.
|
BedrockKnowledgeStoreConfiguration |
withBedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn)
The base ARN of the knowledge base used.
|
BedrockKnowledgeStoreConfiguration |
withExactResponse(Boolean exactResponse)
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields
you specify from the database.
|
BedrockKnowledgeStoreConfiguration |
withExactResponseFields(BedrockKnowledgeStoreExactResponseFields exactResponseFields)
Contains the names of the fields used for an exact response to the user.
|
public void setBedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn)
The base ARN of the knowledge base used.
bedrockKnowledgeBaseArn
- The base ARN of the knowledge base used.public String getBedrockKnowledgeBaseArn()
The base ARN of the knowledge base used.
public BedrockKnowledgeStoreConfiguration withBedrockKnowledgeBaseArn(String bedrockKnowledgeBaseArn)
The base ARN of the knowledge base used.
bedrockKnowledgeBaseArn
- The base ARN of the knowledge base used.public void setExactResponse(Boolean exactResponse)
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
exactResponse
- Specifies whether to return an exact response, or to return an answer generated by the model, using the
fields you specify from the database.public Boolean getExactResponse()
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
public BedrockKnowledgeStoreConfiguration withExactResponse(Boolean exactResponse)
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
exactResponse
- Specifies whether to return an exact response, or to return an answer generated by the model, using the
fields you specify from the database.public Boolean isExactResponse()
Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.
public void setExactResponseFields(BedrockKnowledgeStoreExactResponseFields exactResponseFields)
Contains the names of the fields used for an exact response to the user.
exactResponseFields
- Contains the names of the fields used for an exact response to the user.public BedrockKnowledgeStoreExactResponseFields getExactResponseFields()
Contains the names of the fields used for an exact response to the user.
public BedrockKnowledgeStoreConfiguration withExactResponseFields(BedrockKnowledgeStoreExactResponseFields exactResponseFields)
Contains the names of the fields used for an exact response to the user.
exactResponseFields
- Contains the names of the fields used for an exact response to the user.public String toString()
toString
in class Object
Object.toString()
public BedrockKnowledgeStoreConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.