@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KnowledgeBaseConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configures a bedrock knowledge base.
Constructor and Description |
---|
KnowledgeBaseConfiguration() |
Modifier and Type | Method and Description |
---|---|
KnowledgeBaseConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getType() |
VectorKnowledgeBaseConfiguration |
getVectorKnowledgeBaseConfiguration() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type) |
void |
setVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration) |
String |
toString()
Returns a string representation of this object.
|
KnowledgeBaseConfiguration |
withType(KnowledgeBaseType type) |
KnowledgeBaseConfiguration |
withType(String type) |
KnowledgeBaseConfiguration |
withVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration) |
public void setType(String type)
type
- KnowledgeBaseType
public String getType()
KnowledgeBaseType
public KnowledgeBaseConfiguration withType(String type)
type
- KnowledgeBaseType
public KnowledgeBaseConfiguration withType(KnowledgeBaseType type)
type
- KnowledgeBaseType
public void setVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
vectorKnowledgeBaseConfiguration
- public VectorKnowledgeBaseConfiguration getVectorKnowledgeBaseConfiguration()
public KnowledgeBaseConfiguration withVectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
vectorKnowledgeBaseConfiguration
- 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.