Class CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.crawlArchivedSpaces(Boolean crawlArchivedSpaces) crawlArchivedSpaces(IResolvable crawlArchivedSpaces) crawlPersonalSpaces(Boolean crawlPersonalSpaces) crawlPersonalSpaces(IResolvable crawlPersonalSpaces) excludeSpaces(List<String> excludeSpaces) includeSpaces(List<String> includeSpaces) spaceFieldMappings(List<? extends Object> spaceFieldMappings) spaceFieldMappings(IResolvable spaceFieldMappings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
crawlArchivedSpaces
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder crawlArchivedSpaces(Boolean crawlArchivedSpaces) Sets the value ofCfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.getCrawlArchivedSpaces()- Parameters:
crawlArchivedSpaces-TRUEto index archived spaces.- Returns:
this
-
crawlArchivedSpaces
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder crawlArchivedSpaces(IResolvable crawlArchivedSpaces) Sets the value ofCfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.getCrawlArchivedSpaces()- Parameters:
crawlArchivedSpaces-TRUEto index archived spaces.- Returns:
this
-
crawlPersonalSpaces
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder crawlPersonalSpaces(Boolean crawlPersonalSpaces) Sets the value ofCfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.getCrawlPersonalSpaces()- Parameters:
crawlPersonalSpaces-TRUEto index personal spaces. You can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context .- Returns:
this
-
crawlPersonalSpaces
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder crawlPersonalSpaces(IResolvable crawlPersonalSpaces) Sets the value ofCfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.getCrawlPersonalSpaces()- Parameters:
crawlPersonalSpaces-TRUEto index personal spaces. You can add restrictions to items in personal spaces. If personal spaces are indexed, queries without user context information may return restricted items from a personal space in their results. For more information, see Filtering on user context .- Returns:
this
-
excludeSpaces
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder excludeSpaces(List<String> excludeSpaces) - Parameters:
excludeSpaces- A list of space keys of Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are not indexed. If a space is in both theExcludeSpacesand theIncludeSpaceslist, the space is excluded.- Returns:
this
-
includeSpaces
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder includeSpaces(List<String> includeSpaces) - Parameters:
includeSpaces- A list of space keys for Confluence spaces. If you include a key, the blogs, documents, and attachments in the space are indexed. Spaces that aren't in the list aren't indexed. A space in the list must exist. Otherwise, Amazon Kendra logs an error when the data source is synchronized. If a space is in both theIncludeSpacesand theExcludeSpaceslist, the space is excluded.- Returns:
this
-
spaceFieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder spaceFieldMappings(IResolvable spaceFieldMappings) Sets the value ofCfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.getSpaceFieldMappings()- Parameters:
spaceFieldMappings- Maps attributes or field names of Confluence spaces 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
SpaceFieldMappingsparameter, you must specify at least one field mapping.- Returns:
this
-
spaceFieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.Builder spaceFieldMappings(List<? extends Object> spaceFieldMappings) Sets the value ofCfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty.getSpaceFieldMappings()- Parameters:
spaceFieldMappings- Maps attributes or field names of Confluence spaces 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
SpaceFieldMappingsparameter, you must specify at least one field mapping.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.ConfluenceSpaceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-