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) TRUEto index archived spaces.crawlPersonalSpaces(Boolean crawlPersonalSpaces) TRUEto 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
crawlArchivedSpaces
TRUEto index archived spaces.- Parameters:
crawlArchivedSpaces-TRUEto 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
IncludeSpacesand theExcludeSpaceslist, 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 theIncludeSpacesand theExcludeSpaceslist, 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
IncludeSpacesand theExcludeSpaceslist, 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 theIncludeSpacesand theExcludeSpaceslist, 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
ExcludeSpacesand theIncludeSpaceslist, 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 theExcludeSpacesand theIncludeSpaceslist, 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
ExcludeSpacesand theIncludeSpaceslist, 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 theExcludeSpacesand theIncludeSpaceslist, 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
UpdateIndexAPI 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.- 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:
- 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
UpdateIndexAPI 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.- 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:
- 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
UpdateIndexAPI 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 theSpaceFieldMappingsparameter, you must specify at least one field mapping.ConfluenceSpaceToIndexFieldMapping.Builderavoiding the need to create one manually viaConfluenceSpaceToIndexFieldMapping.builder().When the
Consumercompletes,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:
-