public static interface CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty
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.*; ConfluenceSpaceToIndexFieldMappingProperty confluenceSpaceToIndexFieldMappingProperty = ConfluenceSpaceToIndexFieldMappingProperty.builder() .dataSourceFieldName("dataSourceFieldName") .indexFieldName("indexFieldName") // the properties below are optional .dateFieldFormat("dateFieldFormat") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty.Builder
A builder for
CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty |
static class |
CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty.Jsii$Proxy
An implementation for
CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDataSource.ConfluenceSpaceToIndexFieldMappingProperty.Builder |
builder() |
java.lang.String |
getDataSourceFieldName()
The name of the field in the data source.
|
default java.lang.String |
getDateFieldFormat()
The format for date fields in the data source.
|
java.lang.String |
getIndexFieldName()
The name of the index field to map to the Confluence data source field.
|
java.lang.String getDataSourceFieldName()
java.lang.String getIndexFieldName()
The index field type must match the Confluence field type.
default java.lang.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.