Interface ConfluenceSpaceConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfluenceSpaceConfiguration.Builder,
,ConfluenceSpaceConfiguration> SdkBuilder<ConfluenceSpaceConfiguration.Builder,
,ConfluenceSpaceConfiguration> SdkPojo
- Enclosing class:
ConfluenceSpaceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncrawlArchivedSpaces
(Boolean crawlArchivedSpaces) TRUE
to index archived spaces.crawlPersonalSpaces
(Boolean crawlPersonalSpaces) TRUE
to index personal spaces.excludeSpaces
(String... excludeSpaces) A list of space keys of Confluence spaces.excludeSpaces
(Collection<String> excludeSpaces) A list of space keys of Confluence spaces.includeSpaces
(String... includeSpaces) A list of space keys for Confluence spaces.includeSpaces
(Collection<String> includeSpaces) A list of space keys for Confluence spaces.spaceFieldMappings
(Collection<ConfluenceSpaceToIndexFieldMapping> spaceFieldMappings) Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.spaceFieldMappings
(Consumer<ConfluenceSpaceToIndexFieldMapping.Builder>... spaceFieldMappings) Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.spaceFieldMappings
(ConfluenceSpaceToIndexFieldMapping... spaceFieldMappings) Maps attributes or field names of Confluence spaces to Amazon Kendra index field names.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
crawlPersonalSpaces
TRUE
to 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.- Parameters:
crawlPersonalSpaces
-TRUE
to 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:
- Returns a reference to this object so that method calls can be chained together.
-
crawlArchivedSpaces
TRUE
to index archived spaces.- Parameters:
crawlArchivedSpaces
-TRUE
to index archived spaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theExcludeSpaces
list, the space is excluded.- 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 theIncludeSpaces
and theExcludeSpaces
list, the space is excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theExcludeSpaces
list, the space is excluded.- 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 theIncludeSpaces
and theExcludeSpaces
list, the space is excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theIncludeSpaces
list, the space is excluded.- 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 theExcludeSpaces
and theIncludeSpaces
list, the space is excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theIncludeSpaces
list, the space is excluded.- 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 theExcludeSpaces
and theIncludeSpaces
list, the space is excluded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceFieldMappings
ConfluenceSpaceConfiguration.Builder spaceFieldMappings(Collection<ConfluenceSpaceToIndexFieldMapping> 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.- Parameters:
spaceFieldMappings
- Maps attributes or field names of Confluence spaces 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
SpaceFieldMappings
parameter, you must specify at least one field mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceFieldMappings
ConfluenceSpaceConfiguration.Builder spaceFieldMappings(ConfluenceSpaceToIndexFieldMapping... 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.- Parameters:
spaceFieldMappings
- Maps attributes or field names of Confluence spaces 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
SpaceFieldMappings
parameter, you must specify at least one field mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceFieldMappings
ConfluenceSpaceConfiguration.Builder spaceFieldMappings(Consumer<ConfluenceSpaceToIndexFieldMapping.Builder>... 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
This is a convenience method that creates an instance of theSpaceFieldMappings
parameter, you must specify at least one field mapping.ConfluenceSpaceToIndexFieldMapping.Builder
avoiding the need to create one manually viaConfluenceSpaceToIndexFieldMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospaceFieldMappings(List<ConfluenceSpaceToIndexFieldMapping>)
.- Parameters:
spaceFieldMappings
- a consumer that will call methods onConfluenceSpaceToIndexFieldMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-