Class CfnDataSource.ConfluenceBlogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceBlogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ConfluenceBlogConfigurationProperty>
- Enclosing interface:
CfnDataSource.ConfluenceBlogConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.ConfluenceBlogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ConfluenceBlogConfigurationProperty>
A builder for
CfnDataSource.ConfluenceBlogConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionblogFieldMappings
(List<? extends Object> blogFieldMappings) Sets the value ofCfnDataSource.ConfluenceBlogConfigurationProperty.getBlogFieldMappings()
blogFieldMappings
(IResolvable blogFieldMappings) Sets the value ofCfnDataSource.ConfluenceBlogConfigurationProperty.getBlogFieldMappings()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
blogFieldMappings
@Stability(Stable) public CfnDataSource.ConfluenceBlogConfigurationProperty.Builder blogFieldMappings(IResolvable blogFieldMappings) Sets the value ofCfnDataSource.ConfluenceBlogConfigurationProperty.getBlogFieldMappings()
- Parameters:
blogFieldMappings
- Maps attributes or field names of Confluence blogs 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
BlogFieldMappings
parameter, you must specify at least one field mapping.- Returns:
this
-
blogFieldMappings
@Stability(Stable) public CfnDataSource.ConfluenceBlogConfigurationProperty.Builder blogFieldMappings(List<? extends Object> blogFieldMappings) Sets the value ofCfnDataSource.ConfluenceBlogConfigurationProperty.getBlogFieldMappings()
- Parameters:
blogFieldMappings
- Maps attributes or field names of Confluence blogs 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
BlogFieldMappings
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.ConfluenceBlogConfigurationProperty>
- Returns:
- a new instance of
CfnDataSource.ConfluenceBlogConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-