@Stability(value=Stable)
public static interface CfnDataSource.DataSourceToIndexFieldMappingProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getDataSourceFieldName()
The name of the column or attribute in the data source.
|
default String |
getDateFieldFormat()
The type of data stored in the column or attribute.
|
String |
getIndexFieldName()
The name of the field in the index.
|
@Stability(value=Stable) @NotNull String getDataSourceFieldName()
@Stability(value=Stable) @NotNull String getIndexFieldName()
@Stability(value=Stable) @Nullable default String getDateFieldFormat()
@Stability(value=Stable) static CfnDataSource.DataSourceToIndexFieldMappingProperty.Builder builder()
Copyright © 2022. All rights reserved.