Interface StorageConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StorageConfiguration.Builder,
,StorageConfiguration> SdkBuilder<StorageConfiguration.Builder,
,StorageConfiguration> SdkPojo
- Enclosing class:
StorageConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault StorageConfiguration.Builder
mongoDbAtlasConfiguration
(Consumer<MongoDbAtlasConfiguration.Builder> mongoDbAtlasConfiguration) Contains the storage configuration of the knowledge base in MongoDB Atlas.mongoDbAtlasConfiguration
(MongoDbAtlasConfiguration mongoDbAtlasConfiguration) Contains the storage configuration of the knowledge base in MongoDB Atlas.default StorageConfiguration.Builder
opensearchServerlessConfiguration
(Consumer<OpenSearchServerlessConfiguration.Builder> opensearchServerlessConfiguration) Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.opensearchServerlessConfiguration
(OpenSearchServerlessConfiguration opensearchServerlessConfiguration) Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.default StorageConfiguration.Builder
pineconeConfiguration
(Consumer<PineconeConfiguration.Builder> pineconeConfiguration) Contains the storage configuration of the knowledge base in Pinecone.pineconeConfiguration
(PineconeConfiguration pineconeConfiguration) Contains the storage configuration of the knowledge base in Pinecone.default StorageConfiguration.Builder
rdsConfiguration
(Consumer<RdsConfiguration.Builder> rdsConfiguration) Contains details about the storage configuration of the knowledge base in Amazon RDS.rdsConfiguration
(RdsConfiguration rdsConfiguration) Contains details about the storage configuration of the knowledge base in Amazon RDS.default StorageConfiguration.Builder
redisEnterpriseCloudConfiguration
(Consumer<RedisEnterpriseCloudConfiguration.Builder> redisEnterpriseCloudConfiguration) Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.redisEnterpriseCloudConfiguration
(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration) Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.The vector store service in which the knowledge base is stored.type
(KnowledgeBaseStorageType type) The vector store service in which the knowledge base is stored.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
mongoDbAtlasConfiguration
StorageConfiguration.Builder mongoDbAtlasConfiguration(MongoDbAtlasConfiguration mongoDbAtlasConfiguration) Contains the storage configuration of the knowledge base in MongoDB Atlas.
- Parameters:
mongoDbAtlasConfiguration
- Contains the storage configuration of the knowledge base in MongoDB Atlas.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mongoDbAtlasConfiguration
default StorageConfiguration.Builder mongoDbAtlasConfiguration(Consumer<MongoDbAtlasConfiguration.Builder> mongoDbAtlasConfiguration) Contains the storage configuration of the knowledge base in MongoDB Atlas.
This is a convenience method that creates an instance of theMongoDbAtlasConfiguration.Builder
avoiding the need to create one manually viaMongoDbAtlasConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomongoDbAtlasConfiguration(MongoDbAtlasConfiguration)
.- Parameters:
mongoDbAtlasConfiguration
- a consumer that will call methods onMongoDbAtlasConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
opensearchServerlessConfiguration
StorageConfiguration.Builder opensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration) Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
- Parameters:
opensearchServerlessConfiguration
- Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opensearchServerlessConfiguration
default StorageConfiguration.Builder opensearchServerlessConfiguration(Consumer<OpenSearchServerlessConfiguration.Builder> opensearchServerlessConfiguration) Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.
This is a convenience method that creates an instance of theOpenSearchServerlessConfiguration.Builder
avoiding the need to create one manually viaOpenSearchServerlessConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopensearchServerlessConfiguration(OpenSearchServerlessConfiguration)
.- Parameters:
opensearchServerlessConfiguration
- a consumer that will call methods onOpenSearchServerlessConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pineconeConfiguration
Contains the storage configuration of the knowledge base in Pinecone.
- Parameters:
pineconeConfiguration
- Contains the storage configuration of the knowledge base in Pinecone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pineconeConfiguration
default StorageConfiguration.Builder pineconeConfiguration(Consumer<PineconeConfiguration.Builder> pineconeConfiguration) Contains the storage configuration of the knowledge base in Pinecone.
This is a convenience method that creates an instance of thePineconeConfiguration.Builder
avoiding the need to create one manually viaPineconeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topineconeConfiguration(PineconeConfiguration)
.- Parameters:
pineconeConfiguration
- a consumer that will call methods onPineconeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsConfiguration
default StorageConfiguration.Builder rdsConfiguration(Consumer<RdsConfiguration.Builder> 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.
This is a convenience method that creates an instance of theRdsConfiguration.Builder
avoiding the need to create one manually viaRdsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tordsConfiguration(RdsConfiguration)
.- Parameters:
rdsConfiguration
- a consumer that will call methods onRdsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redisEnterpriseCloudConfiguration
StorageConfiguration.Builder redisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration) Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
- Parameters:
redisEnterpriseCloudConfiguration
- Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redisEnterpriseCloudConfiguration
default StorageConfiguration.Builder redisEnterpriseCloudConfiguration(Consumer<RedisEnterpriseCloudConfiguration.Builder> redisEnterpriseCloudConfiguration) Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.
This is a convenience method that creates an instance of theRedisEnterpriseCloudConfiguration.Builder
avoiding the need to create one manually viaRedisEnterpriseCloudConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toredisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration)
.- Parameters:
redisEnterpriseCloudConfiguration
- a consumer that will call methods onRedisEnterpriseCloudConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The vector store service in which the knowledge base is stored.
- Parameters:
type
- The vector store service in which the knowledge base is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The vector store service in which the knowledge base is stored.
- Parameters:
type
- The vector store service in which the knowledge base is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-