Interface ConfluenceAttachmentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConfluenceAttachmentConfiguration.Builder,,ConfluenceAttachmentConfiguration> SdkBuilder<ConfluenceAttachmentConfiguration.Builder,,ConfluenceAttachmentConfiguration> SdkPojo
- Enclosing class:
ConfluenceAttachmentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionattachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings) Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.attachmentFieldMappings(Consumer<ConfluenceAttachmentToIndexFieldMapping.Builder>... attachmentFieldMappings) Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.attachmentFieldMappings(ConfluenceAttachmentToIndexFieldMapping... attachmentFieldMappings) Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.crawlAttachments(Boolean crawlAttachments) TRUEto index attachments of pages and blogs in Confluence.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
-
crawlAttachments
TRUEto index attachments of pages and blogs in Confluence.- Parameters:
crawlAttachments-TRUEto index attachments of pages and blogs in Confluence.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentFieldMappings
ConfluenceAttachmentConfiguration.Builder attachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings) Maps attributes or field names of Confluence attachments 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
AttachentFieldMappingsparameter, you must specify at least one field mapping.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentFieldMappings
ConfluenceAttachmentConfiguration.Builder attachmentFieldMappings(ConfluenceAttachmentToIndexFieldMapping... attachmentFieldMappings) Maps attributes or field names of Confluence attachments 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
AttachentFieldMappingsparameter, you must specify at least one field mapping.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentFieldMappings
ConfluenceAttachmentConfiguration.Builder attachmentFieldMappings(Consumer<ConfluenceAttachmentToIndexFieldMapping.Builder>... attachmentFieldMappings) Maps attributes or field names of Confluence attachments 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 theAttachentFieldMappingsparameter, you must specify at least one field mapping.ConfluenceAttachmentToIndexFieldMapping.Builderavoiding the need to create one manually viaConfluenceAttachmentToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachmentFieldMappings(List<ConfluenceAttachmentToIndexFieldMapping>).- Parameters:
attachmentFieldMappings- a consumer that will call methods onConfluenceAttachmentToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-