@Generated(value="software.amazon.awssdk:codegen") public final class ColumnConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ColumnConfiguration.Builder,ColumnConfiguration>
Provides information about how Amazon Kendra should use the columns of a database in an index.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ColumnConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ColumnConfiguration.Builder |
builder() |
List<String> |
changeDetectingColumns()
One to five columns that indicate when a document in the database has changed.
|
String |
documentDataColumnName()
The column that contains the contents of the document.
|
String |
documentIdColumnName()
The column that provides the document's unique identifier.
|
String |
documentTitleColumnName()
The column that contains the title of the document.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<DataSourceToIndexFieldMapping> |
fieldMappings()
An array of objects that map database column names to the corresponding fields in an index.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasChangeDetectingColumns()
Returns true if the ChangeDetectingColumns property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasFieldMappings()
Returns true if the FieldMappings property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ColumnConfiguration.Builder> |
serializableBuilderClass() |
ColumnConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String documentIdColumnName()
The column that provides the document's unique identifier.
public final String documentDataColumnName()
The column that contains the contents of the document.
public final String documentTitleColumnName()
The column that contains the title of the document.
public final boolean hasFieldMappings()
public final List<DataSourceToIndexFieldMapping> fieldMappings()
An array of objects that map database column names to the corresponding fields in an index. You must first create
the fields in the index using the UpdateIndex operation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFieldMappings() to see if a value was sent in this field.
UpdateIndex operation.public final boolean hasChangeDetectingColumns()
public final List<String> changeDetectingColumns()
One to five columns that indicate when a document in the database has changed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasChangeDetectingColumns() to see if a value was sent in this field.
public ColumnConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ColumnConfiguration.Builder,ColumnConfiguration>public static ColumnConfiguration.Builder builder()
public static Class<? extends ColumnConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.