Class CfnDataSource.SqlConfigurationProperty.Builder

java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.SqlConfigurationProperty.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.SqlConfigurationProperty>
Enclosing interface:
CfnDataSource.SqlConfigurationProperty

@Stability(Stable) public static final class CfnDataSource.SqlConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.SqlConfigurationProperty>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • queryIdentifiersEnclosingOption

      @Stability(Stable) public CfnDataSource.SqlConfigurationProperty.Builder queryIdentifiersEnclosingOption(String queryIdentifiersEnclosingOption)
      Parameters:
      queryIdentifiersEnclosingOption - Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when making a database query. You can set the value to DOUBLE_QUOTES or NONE .

      By default, Amazon Kendra passes SQL identifiers the way that they are entered into the data source configuration. It does not change the case of identifiers or enclose them in quotes.

      PostgreSQL internally converts uppercase characters to lower case characters in identifiers unless they are quoted. Choosing this option encloses identifiers in quotes so that PostgreSQL does not convert the character's case.

      For MySQL databases, you must enable the ansi_quotes option when you set this field to DOUBLE_QUOTES .

      Returns:
      this
    • build

      @Stability(Stable) public CfnDataSource.SqlConfigurationProperty build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnDataSource.SqlConfigurationProperty>
      Returns:
      a new instance of CfnDataSource.SqlConfigurationProperty
      Throws:
      NullPointerException - if any required attribute was not provided