@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StorageConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains the storage configuration of the knowledge base.
Constructor and Description |
---|
StorageConfiguration() |
Modifier and Type | Method and Description |
---|---|
StorageConfiguration |
clone() |
boolean |
equals(Object obj) |
MongoDbAtlasConfiguration |
getMongoDbAtlasConfiguration()
Contains the storage configuration of the knowledge base in MongoDB Atlas.
|
OpenSearchServerlessConfiguration |
getOpensearchServerlessConfiguration()
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
|
PineconeConfiguration |
getPineconeConfiguration()
Contains the storage configuration of the knowledge base in Pinecone.
|
RdsConfiguration |
getRdsConfiguration()
Contains details about the storage configuration of the knowledge base in Amazon RDS.
|
RedisEnterpriseCloudConfiguration |
getRedisEnterpriseCloudConfiguration()
Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
|
String |
getType()
The vector store service in which the knowledge base is stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMongoDbAtlasConfiguration(MongoDbAtlasConfiguration mongoDbAtlasConfiguration)
Contains the storage configuration of the knowledge base in MongoDB Atlas.
|
void |
setOpensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration)
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
|
void |
setPineconeConfiguration(PineconeConfiguration pineconeConfiguration)
Contains the storage configuration of the knowledge base in Pinecone.
|
void |
setRdsConfiguration(RdsConfiguration rdsConfiguration)
Contains details about the storage configuration of the knowledge base in Amazon RDS.
|
void |
setRedisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration)
Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
|
void |
setType(String type)
The vector store service in which the knowledge base is stored.
|
String |
toString()
Returns a string representation of this object.
|
StorageConfiguration |
withMongoDbAtlasConfiguration(MongoDbAtlasConfiguration mongoDbAtlasConfiguration)
Contains the storage configuration of the knowledge base in MongoDB Atlas.
|
StorageConfiguration |
withOpensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration)
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
|
StorageConfiguration |
withPineconeConfiguration(PineconeConfiguration pineconeConfiguration)
Contains the storage configuration of the knowledge base in Pinecone.
|
StorageConfiguration |
withRdsConfiguration(RdsConfiguration rdsConfiguration)
Contains details about the storage configuration of the knowledge base in Amazon RDS.
|
StorageConfiguration |
withRedisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration)
Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
|
StorageConfiguration |
withType(KnowledgeBaseStorageType type)
The vector store service in which the knowledge base is stored.
|
StorageConfiguration |
withType(String type)
The vector store service in which the knowledge base is stored.
|
public void setMongoDbAtlasConfiguration(MongoDbAtlasConfiguration mongoDbAtlasConfiguration)
Contains the storage configuration of the knowledge base in MongoDB Atlas.
mongoDbAtlasConfiguration
- Contains the storage configuration of the knowledge base in MongoDB Atlas.public MongoDbAtlasConfiguration getMongoDbAtlasConfiguration()
Contains the storage configuration of the knowledge base in MongoDB Atlas.
public StorageConfiguration withMongoDbAtlasConfiguration(MongoDbAtlasConfiguration mongoDbAtlasConfiguration)
Contains the storage configuration of the knowledge base in MongoDB Atlas.
mongoDbAtlasConfiguration
- Contains the storage configuration of the knowledge base in MongoDB Atlas.public void setOpensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration)
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
opensearchServerlessConfiguration
- Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.public OpenSearchServerlessConfiguration getOpensearchServerlessConfiguration()
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
public StorageConfiguration withOpensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration)
Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
opensearchServerlessConfiguration
- Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.public void setPineconeConfiguration(PineconeConfiguration pineconeConfiguration)
Contains the storage configuration of the knowledge base in Pinecone.
pineconeConfiguration
- Contains the storage configuration of the knowledge base in Pinecone.public PineconeConfiguration getPineconeConfiguration()
Contains the storage configuration of the knowledge base in Pinecone.
public StorageConfiguration withPineconeConfiguration(PineconeConfiguration pineconeConfiguration)
Contains the storage configuration of the knowledge base in Pinecone.
pineconeConfiguration
- Contains the storage configuration of the knowledge base in Pinecone.public void setRdsConfiguration(RdsConfiguration rdsConfiguration)
Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
rdsConfiguration
- Contains details about the storage configuration of the knowledge base in Amazon RDS. For more
information, see Create a vector
index in Amazon RDS.public RdsConfiguration getRdsConfiguration()
Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
public StorageConfiguration withRdsConfiguration(RdsConfiguration rdsConfiguration)
Contains details about the storage configuration of the knowledge base in Amazon RDS. For more information, see Create a vector index in Amazon RDS.
rdsConfiguration
- Contains details about the storage configuration of the knowledge base in Amazon RDS. For more
information, see Create a vector
index in Amazon RDS.public void setRedisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration)
Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
redisEnterpriseCloudConfiguration
- Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.public RedisEnterpriseCloudConfiguration getRedisEnterpriseCloudConfiguration()
Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
public StorageConfiguration withRedisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration)
Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
redisEnterpriseCloudConfiguration
- Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.public void setType(String type)
The vector store service in which the knowledge base is stored.
type
- The vector store service in which the knowledge base is stored.KnowledgeBaseStorageType
public String getType()
The vector store service in which the knowledge base is stored.
KnowledgeBaseStorageType
public StorageConfiguration withType(String type)
The vector store service in which the knowledge base is stored.
type
- The vector store service in which the knowledge base is stored.KnowledgeBaseStorageType
public StorageConfiguration withType(KnowledgeBaseStorageType type)
The vector store service in which the knowledge base is stored.
type
- The vector store service in which the knowledge base is stored.KnowledgeBaseStorageType
public String toString()
toString
in class Object
Object.toString()
public StorageConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.