Class CfnDataSource.ConfluencePageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.ConfluencePageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ConfluencePageConfigurationProperty>
- Enclosing interface:
CfnDataSource.ConfluencePageConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.ConfluencePageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ConfluencePageConfigurationProperty>
A builder for
CfnDataSource.ConfluencePageConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.pageFieldMappings
(List<? extends Object> pageFieldMappings) Sets the value ofCfnDataSource.ConfluencePageConfigurationProperty.getPageFieldMappings()
pageFieldMappings
(IResolvable pageFieldMappings) Sets the value ofCfnDataSource.ConfluencePageConfigurationProperty.getPageFieldMappings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pageFieldMappings
@Stability(Stable) public CfnDataSource.ConfluencePageConfigurationProperty.Builder pageFieldMappings(IResolvable pageFieldMappings) Sets the value ofCfnDataSource.ConfluencePageConfigurationProperty.getPageFieldMappings()
- Parameters:
pageFieldMappings
- Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
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.If you specify the
PageFieldMappings
parameter, you must specify at least one field mapping.- Returns:
this
-
pageFieldMappings
@Stability(Stable) public CfnDataSource.ConfluencePageConfigurationProperty.Builder pageFieldMappings(List<? extends Object> pageFieldMappings) Sets the value ofCfnDataSource.ConfluencePageConfigurationProperty.getPageFieldMappings()
- Parameters:
pageFieldMappings
- Maps attributes or field names of Confluence pages to Amazon Kendra index field names. To create custom fields, use theUpdateIndex
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.If you specify the
PageFieldMappings
parameter, you must specify at least one field mapping.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.ConfluencePageConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.ConfluencePageConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-