Class CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentFieldMappings(List<? extends Object> attachmentFieldMappings) attachmentFieldMappings(IResolvable attachmentFieldMappings) build()Builds the configured instance.crawlAttachments(Boolean crawlAttachments) crawlAttachments(IResolvable crawlAttachments)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentFieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.Builder attachmentFieldMappings(IResolvable attachmentFieldMappings) Sets the value ofCfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.getAttachmentFieldMappings()- Parameters:
attachmentFieldMappings- Maps attributes or field names of Confluence attachments 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
AttachentFieldMappingsparameter, you must specify at least one field mapping.- Returns:
this
-
attachmentFieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.Builder attachmentFieldMappings(List<? extends Object> attachmentFieldMappings) Sets the value ofCfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.getAttachmentFieldMappings()- Parameters:
attachmentFieldMappings- Maps attributes or field names of Confluence attachments 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
AttachentFieldMappingsparameter, you must specify at least one field mapping.- Returns:
this
-
crawlAttachments
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.Builder crawlAttachments(Boolean crawlAttachments) Sets the value ofCfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.getCrawlAttachments()- Parameters:
crawlAttachments-TRUEto index attachments of pages and blogs in Confluence.- Returns:
this
-
crawlAttachments
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments) Sets the value ofCfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty.getCrawlAttachments()- Parameters:
crawlAttachments-TRUEto index attachments of pages and blogs in Confluence.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.ConfluenceAttachmentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-