@Stability(value=Stable)
public static interface CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty
extends software.amazon.jsii.JsiiSerializable
To create custom fields, use the UpdateIndex API before you map to Confluence fields. For more information, see Mapping data source fields . The Confluence data source field names must exist in your Confluence custom metadata.
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.*;
ConfluenceBlogToIndexFieldMappingProperty confluenceBlogToIndexFieldMappingProperty = ConfluenceBlogToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder
A builder for
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty |
static class |
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Jsii$Proxy
An implementation for
CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder |
builder() |
String |
getDataSourceFieldName()
The name of the field in the data source.
|
default String |
getDateFieldFormat()
The format for date fields in the data source.
|
String |
getIndexFieldName()
The name of the index field to map to the Confluence data source field.
|
@Stability(value=Stable) @NotNull String getDataSourceFieldName()
@Stability(value=Stable) @NotNull String getIndexFieldName()
The index field type must match the Confluence field type.
@Stability(value=Stable) @Nullable default String getDateFieldFormat()
If the field specified in DataSourceFieldName is a date field you must specify the date format. If the field is not a date field, an exception is thrown.
@Stability(value=Stable) static CfnDataSource.ConfluenceBlogToIndexFieldMappingProperty.Builder builder()
Copyright © 2022. All rights reserved.