public static final class CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.ConfluenceSpaceConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder crawlArchivedSpaces(java.lang.Boolean crawlArchivedSpaces)
crawlArchivedSpaces
- Specifies whether Amazon Kendra should index archived spaces.this
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder crawlArchivedSpaces(IResolvable crawlArchivedSpaces)
crawlArchivedSpaces
- Specifies whether Amazon Kendra should index archived spaces.this
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder crawlPersonalSpaces(java.lang.Boolean crawlPersonalSpaces)
crawlPersonalSpaces
- Specifies whether Amazon Kendra should index personal spaces.
Users 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 .this
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder crawlPersonalSpaces(IResolvable crawlPersonalSpaces)
crawlPersonalSpaces
- Specifies whether Amazon Kendra should index personal spaces.
Users 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 .this
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder excludeSpaces(java.util.List<java.lang.String> excludeSpaces)
CfnDataSource.ConfluenceSpaceConfigurationProperty.getExcludeSpaces()
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 the ExcludeSpaces
and the IncludeSpaces
list, the space is excluded.this
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder includeSpaces(java.util.List<java.lang.String> includeSpaces)
CfnDataSource.ConfluenceSpaceConfigurationProperty.getIncludeSpaces()
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 the IncludeSpaces
and the ExcludeSpaces
list, the space is excluded.this
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder spaceFieldMappings(IResolvable spaceFieldMappings)
spaceFieldMappings
- Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex
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 SpaceFieldMappings
parameter, you must specify at least one field mapping.
this
public CfnDataSource.ConfluenceSpaceConfigurationProperty.Builder spaceFieldMappings(java.util.List<? extends java.lang.Object> spaceFieldMappings)
spaceFieldMappings
- Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex
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 SpaceFieldMappings
parameter, you must specify at least one field mapping.
this
public CfnDataSource.ConfluenceSpaceConfigurationProperty build()
CfnDataSource.ConfluenceSpaceConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided