Interface StorageConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>,SdkBuilder<StorageConfiguration.Builder,StorageConfiguration>,SdkPojo
- Enclosing class:
- StorageConfiguration
public static interface StorageConfiguration.Builder extends SdkPojo, CopyableBuilder<StorageConfiguration.Builder,StorageConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageConfiguration.BuildermongoDbAtlasConfiguration(Consumer<MongoDbAtlasConfiguration.Builder> mongoDbAtlasConfiguration)Contains the storage configuration of the knowledge base in MongoDB Atlas.StorageConfiguration.BuildermongoDbAtlasConfiguration(MongoDbAtlasConfiguration mongoDbAtlasConfiguration)Contains the storage configuration of the knowledge base in MongoDB Atlas.default StorageConfiguration.BuilderopensearchServerlessConfiguration(Consumer<OpenSearchServerlessConfiguration.Builder> opensearchServerlessConfiguration)Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.StorageConfiguration.BuilderopensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration)Contains the storage configuration of the knowledge base in Amazon OpenSearch Service.default StorageConfiguration.BuilderpineconeConfiguration(Consumer<PineconeConfiguration.Builder> pineconeConfiguration)Contains the storage configuration of the knowledge base in Pinecone.StorageConfiguration.BuilderpineconeConfiguration(PineconeConfiguration pineconeConfiguration)Contains the storage configuration of the knowledge base in Pinecone.default StorageConfiguration.BuilderrdsConfiguration(Consumer<RdsConfiguration.Builder> rdsConfiguration)Contains details about the storage configuration of the knowledge base in Amazon RDS.StorageConfiguration.BuilderrdsConfiguration(RdsConfiguration rdsConfiguration)Contains details about the storage configuration of the knowledge base in Amazon RDS.default StorageConfiguration.BuilderredisEnterpriseCloudConfiguration(Consumer<RedisEnterpriseCloudConfiguration.Builder> redisEnterpriseCloudConfiguration)Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.StorageConfiguration.BuilderredisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration)Contains the storage configuration of the knowledge base in Redis Enterprise Cloud.StorageConfiguration.Buildertype(String type)The vector store service in which the knowledge base is stored.StorageConfiguration.Buildertype(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 Detail
-
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.Builderavoiding the need to create one manually viaMongoDbAtlasConfiguration.builder().When the
Consumercompletes,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:
mongoDbAtlasConfiguration(MongoDbAtlasConfiguration)
-
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.Builderavoiding the need to create one manually viaOpenSearchServerlessConfiguration.builder().When the
Consumercompletes,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:
opensearchServerlessConfiguration(OpenSearchServerlessConfiguration)
-
pineconeConfiguration
StorageConfiguration.Builder pineconeConfiguration(PineconeConfiguration 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.Builderavoiding the need to create one manually viaPineconeConfiguration.builder().When the
Consumercompletes,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:
pineconeConfiguration(PineconeConfiguration)
-
rdsConfiguration
StorageConfiguration.Builder rdsConfiguration(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.
- 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.Builderavoiding the need to create one manually viaRdsConfiguration.builder().When the
Consumercompletes,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:
rdsConfiguration(RdsConfiguration)
-
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.Builderavoiding the need to create one manually viaRedisEnterpriseCloudConfiguration.builder().When the
Consumercompletes,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:
redisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration)
-
type
StorageConfiguration.Builder type(String 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:
KnowledgeBaseStorageType,KnowledgeBaseStorageType
-
type
StorageConfiguration.Builder type(KnowledgeBaseStorageType 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:
KnowledgeBaseStorageType,KnowledgeBaseStorageType
-
-