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 Details

    • 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 the RdsFieldMapping.Builder avoiding the need to create one manually via RdsFieldMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to fieldMapping(RdsFieldMapping).

      Parameters:
      fieldMapping - a consumer that will call methods on RdsFieldMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.