public static interface CfnDataSource.DataSourceToIndexFieldMappingProperty
You must first create the fields in the index using the UpdateIndex operation.
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.*; DataSourceToIndexFieldMappingProperty dataSourceToIndexFieldMappingProperty = DataSourceToIndexFieldMappingProperty.builder() .dataSourceFieldName("dataSourceFieldName") .indexFieldName("indexFieldName") // the properties below are optional .dateFieldFormat("dateFieldFormat") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder
A builder for
CfnDataSource.DataSourceToIndexFieldMappingProperty |
static class |
CfnDataSource.DataSourceToIndexFieldMappingProperty.Jsii$Proxy
An implementation for
CfnDataSource.DataSourceToIndexFieldMappingProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder |
builder() |
java.lang.String |
getDataSourceFieldName()
The name of the column or attribute in the data source.
|
default java.lang.String |
getDateFieldFormat()
The type of data stored in the column or attribute.
|
java.lang.String |
getIndexFieldName()
The name of the field in the index.
|
java.lang.String getDataSourceFieldName()
java.lang.String getIndexFieldName()
default java.lang.String getDateFieldFormat()