public static interface CfnDataSource.ColumnConfigurationProperty
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() |
java.util.List<java.lang.String> |
getChangeDetectingColumns()
One to five columns that indicate when a document in the database has changed.
|
java.lang.String |
getDocumentDataColumnName()
The column that contains the contents of the document.
|
java.lang.String |
getDocumentIdColumnName()
The column that provides the document's unique identifier.
|
default java.lang.String |
getDocumentTitleColumnName()
The column that contains the title of the document.
|
default java.lang.Object |
getFieldMappings()
An array of objects that map database column names to the corresponding fields in an index.
|
java.util.List<java.lang.String> getChangeDetectingColumns()
java.lang.String getDocumentDataColumnName()
java.lang.String getDocumentIdColumnName()
default java.lang.String getDocumentTitleColumnName()
default java.lang.Object getFieldMappings()
You must first create the fields in the index using the UpdateIndex operation.
static CfnDataSource.ColumnConfigurationProperty.Builder builder()