Class SqlConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.SqlConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SqlConfiguration.Builder,SqlConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SqlConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SqlConfiguration.Builder,SqlConfiguration>
Provides the configuration information to use a SQL database.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSqlConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()QueryIdentifiersEnclosingOptionqueryIdentifiersEnclosingOption()Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when making a database query.StringqueryIdentifiersEnclosingOptionAsString()Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when making a database query.List<SdkField<?>>sdkFields()static Class<? extends SqlConfiguration.Builder>serializableBuilderClass()SqlConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
queryIdentifiersEnclosingOption
public final QueryIdentifiersEnclosingOption queryIdentifiersEnclosingOption()
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when making a database query.
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_quotesoption when you set this field toDOUBLE_QUOTES.If the service returns an enum value that is not available in the current SDK version,
queryIdentifiersEnclosingOptionwill returnQueryIdentifiersEnclosingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryIdentifiersEnclosingOptionAsString().- Returns:
- Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes
(") when making a database query.
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_quotesoption when you set this field toDOUBLE_QUOTES. - See Also:
QueryIdentifiersEnclosingOption
-
queryIdentifiersEnclosingOptionAsString
public final String queryIdentifiersEnclosingOptionAsString()
Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes (") when making a database query.
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_quotesoption when you set this field toDOUBLE_QUOTES.If the service returns an enum value that is not available in the current SDK version,
queryIdentifiersEnclosingOptionwill returnQueryIdentifiersEnclosingOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryIdentifiersEnclosingOptionAsString().- Returns:
- Determines whether Amazon Kendra encloses SQL identifiers for tables and column names in double quotes
(") when making a database query.
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_quotesoption when you set this field toDOUBLE_QUOTES. - See Also:
QueryIdentifiersEnclosingOption
-
toBuilder
public SqlConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SqlConfiguration.Builder,SqlConfiguration>
-
builder
public static SqlConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SqlConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-