@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the embeddings configuration of the knowledge base.
Constructor and Description |
---|
KnowledgeBaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
KnowledgeBaseConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The type of data that the data source is converted into for the knowledge base.
|
VectorKnowledgeBaseConfiguration |
getVectorKnowledgeBaseConfiguration()
Contains details about the embeddings model that'sused to convert the data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
The type of data that the data source is converted into for the knowledge base.
|
void |
setVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
Contains details about the embeddings model that'sused to convert the data source.
|
String |
toString()
Returns a string representation of this object.
|
KnowledgeBaseConfiguration |
withType(KnowledgeBaseType type)
The type of data that the data source is converted into for the knowledge base.
|
KnowledgeBaseConfiguration |
withType(String type)
The type of data that the data source is converted into for the knowledge base.
|
KnowledgeBaseConfiguration |
withVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
Contains details about the embeddings model that'sused to convert the data source.
|
public void setType(String type)
The type of data that the data source is converted into for the knowledge base.
type
- The type of data that the data source is converted into for the knowledge base.KnowledgeBaseType
public String getType()
The type of data that the data source is converted into for the knowledge base.
KnowledgeBaseType
public KnowledgeBaseConfiguration withType(String type)
The type of data that the data source is converted into for the knowledge base.
type
- The type of data that the data source is converted into for the knowledge base.KnowledgeBaseType
public KnowledgeBaseConfiguration withType(KnowledgeBaseType type)
The type of data that the data source is converted into for the knowledge base.
type
- The type of data that the data source is converted into for the knowledge base.KnowledgeBaseType
public void setVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
Contains details about the embeddings model that'sused to convert the data source.
vectorKnowledgeBaseConfiguration
- Contains details about the embeddings model that'sused to convert the data source.public VectorKnowledgeBaseConfiguration getVectorKnowledgeBaseConfiguration()
Contains details about the embeddings model that'sused to convert the data source.
public KnowledgeBaseConfiguration withVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
Contains details about the embeddings model that'sused to convert the data source.
vectorKnowledgeBaseConfiguration
- Contains details about the embeddings model that'sused to convert the data source.public String toString()
toString
in class Object
Object.toString()
public KnowledgeBaseConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.