Interface RdsConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RdsConfiguration.Builder,
,RdsConfiguration> SdkBuilder<RdsConfiguration.Builder,
,RdsConfiguration> SdkPojo
- Enclosing class:
RdsConfiguration
public static interface RdsConfiguration.Builder
extends SdkPojo, CopyableBuilder<RdsConfiguration.Builder,RdsConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncredentialsSecretArn
(String credentialsSecretArn) The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.databaseName
(String databaseName) The name of your Amazon RDS database.default RdsConfiguration.Builder
fieldMapping
(Consumer<RdsFieldMapping.Builder> fieldMapping) Contains the names of the fields to which to map information about the vector store.fieldMapping
(RdsFieldMapping fieldMapping) Contains the names of the fields to which to map information about the vector store.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the vector store.The name of the table in the database.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
-
credentialsSecretArn
The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.
- Parameters:
credentialsSecretArn
- The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
The name of your Amazon RDS database.
- Parameters:
databaseName
- The name of your Amazon RDS database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
Contains the names of the fields to which to map information about the vector store.
- Parameters:
fieldMapping
- Contains the names of the fields to which to map information about the vector store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMapping
Contains the names of the fields to which to map information about the vector store.
This is a convenience method that creates an instance of theRdsFieldMapping.Builder
avoiding the need to create one manually viaRdsFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofieldMapping(RdsFieldMapping)
.- Parameters:
fieldMapping
- a consumer that will call methods onRdsFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceArn
The Amazon Resource Name (ARN) of the vector store.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the vector store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table in the database.
- Parameters:
tableName
- The name of the table in the database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-