@Stability(value=Stable)
public static interface CfnDataSource.ColumnConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.kendra.*;
ColumnConfigurationProperty columnConfigurationProperty = ColumnConfigurationProperty.builder()
.changeDetectingColumns(List.of("changeDetectingColumns"))
.documentDataColumnName("documentDataColumnName")
.documentIdColumnName("documentIdColumnName")
// the properties below are optional
.documentTitleColumnName("documentTitleColumnName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ColumnConfigurationProperty.Builder
A builder for
CfnDataSource.ColumnConfigurationProperty |
static class |
CfnDataSource.ColumnConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ColumnConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ColumnConfigurationProperty.Builder |
builder() |
List<String> |
getChangeDetectingColumns()
One to five columns that indicate when a document in the database has changed.
|
String |
getDocumentDataColumnName()
The column that contains the contents of the document.
|
String |
getDocumentIdColumnName()
The column that provides the document's unique identifier.
|
default String |
getDocumentTitleColumnName()
The column that contains the title of the document.
|
default Object |
getFieldMappings()
An array of objects that map database column names to the corresponding fields in an index.
|
@Stability(value=Stable) @NotNull List<String> getChangeDetectingColumns()
@Stability(value=Stable) @NotNull String getDocumentDataColumnName()
@Stability(value=Stable) @NotNull String getDocumentIdColumnName()
@Stability(value=Stable) @Nullable default String getDocumentTitleColumnName()
@Stability(value=Stable) @Nullable default Object getFieldMappings()
You must first create the fields in the index using the UpdateIndex operation.
@Stability(value=Stable) static CfnDataSource.ColumnConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.