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