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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RdsConfiguration.BuildercredentialsSecretArn(String credentialsSecretArn)The Amazon Resource Name (ARN) of the secret that you created in Secrets Manager that is linked to your Amazon RDS database.RdsConfiguration.BuilderdatabaseName(String databaseName)The name of your Amazon RDS database.default RdsConfiguration.BuilderfieldMapping(Consumer<RdsFieldMapping.Builder> fieldMapping)Contains the names of the fields to which to map information about the vector store.RdsConfiguration.BuilderfieldMapping(RdsFieldMapping fieldMapping)Contains the names of the fields to which to map information about the vector store.RdsConfiguration.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the vector store.RdsConfiguration.BuildertableName(String tableName)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 Detail
-
credentialsSecretArn
RdsConfiguration.Builder credentialsSecretArn(String 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
RdsConfiguration.Builder databaseName(String 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
RdsConfiguration.Builder fieldMapping(RdsFieldMapping 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
default RdsConfiguration.Builder fieldMapping(Consumer<RdsFieldMapping.Builder> 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.Builderavoiding the need to create one manually viaRdsFieldMapping.builder().When the
Consumercompletes,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:
fieldMapping(RdsFieldMapping)
-
resourceArn
RdsConfiguration.Builder resourceArn(String 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
RdsConfiguration.Builder tableName(String 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.
-
-