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.BuilderopensearchServerlessConfiguration(Consumer<OpenSearchServerlessConfiguration.Builder> opensearchServerlessConfiguration)Sets the value of the OpensearchServerlessConfiguration property for this object.StorageConfiguration.BuilderopensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration)Sets the value of the OpensearchServerlessConfiguration property for this object.default StorageConfiguration.BuilderpineconeConfiguration(Consumer<PineconeConfiguration.Builder> pineconeConfiguration)Sets the value of the PineconeConfiguration property for this object.StorageConfiguration.BuilderpineconeConfiguration(PineconeConfiguration pineconeConfiguration)Sets the value of the PineconeConfiguration property for this object.default StorageConfiguration.BuilderrdsConfiguration(Consumer<RdsConfiguration.Builder> rdsConfiguration)Sets the value of the RdsConfiguration property for this object.StorageConfiguration.BuilderrdsConfiguration(RdsConfiguration rdsConfiguration)Sets the value of the RdsConfiguration property for this object.default StorageConfiguration.BuilderredisEnterpriseCloudConfiguration(Consumer<RedisEnterpriseCloudConfiguration.Builder> redisEnterpriseCloudConfiguration)Sets the value of the RedisEnterpriseCloudConfiguration property for this object.StorageConfiguration.BuilderredisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration)Sets the value of the RedisEnterpriseCloudConfiguration property for this object.StorageConfiguration.Buildertype(String type)Sets the value of the Type property for this object.StorageConfiguration.Buildertype(KnowledgeBaseStorageType type)Sets the value of the Type property for this object.-
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
-
type
StorageConfiguration.Builder type(String type)
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- 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)
Sets the value of the Type property for this object.- Parameters:
type- The new value for the Type property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KnowledgeBaseStorageType,KnowledgeBaseStorageType
-
opensearchServerlessConfiguration
StorageConfiguration.Builder opensearchServerlessConfiguration(OpenSearchServerlessConfiguration opensearchServerlessConfiguration)
Sets the value of the OpensearchServerlessConfiguration property for this object.- Parameters:
opensearchServerlessConfiguration- The new value for the OpensearchServerlessConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opensearchServerlessConfiguration
default StorageConfiguration.Builder opensearchServerlessConfiguration(Consumer<OpenSearchServerlessConfiguration.Builder> opensearchServerlessConfiguration)
Sets the value of the OpensearchServerlessConfiguration property for this object. 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)
Sets the value of the PineconeConfiguration property for this object.- Parameters:
pineconeConfiguration- The new value for the PineconeConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pineconeConfiguration
default StorageConfiguration.Builder pineconeConfiguration(Consumer<PineconeConfiguration.Builder> pineconeConfiguration)
Sets the value of the PineconeConfiguration property for this object. 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)
-
redisEnterpriseCloudConfiguration
StorageConfiguration.Builder redisEnterpriseCloudConfiguration(RedisEnterpriseCloudConfiguration redisEnterpriseCloudConfiguration)
Sets the value of the RedisEnterpriseCloudConfiguration property for this object.- Parameters:
redisEnterpriseCloudConfiguration- The new value for the RedisEnterpriseCloudConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redisEnterpriseCloudConfiguration
default StorageConfiguration.Builder redisEnterpriseCloudConfiguration(Consumer<RedisEnterpriseCloudConfiguration.Builder> redisEnterpriseCloudConfiguration)
Sets the value of the RedisEnterpriseCloudConfiguration property for this object. 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)
-
rdsConfiguration
StorageConfiguration.Builder rdsConfiguration(RdsConfiguration rdsConfiguration)
Sets the value of the RdsConfiguration property for this object.- Parameters:
rdsConfiguration- The new value for the RdsConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsConfiguration
default StorageConfiguration.Builder rdsConfiguration(Consumer<RdsConfiguration.Builder> rdsConfiguration)
Sets the value of the RdsConfiguration property for this object. 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)
-
-