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) TRUE
to index attachments of pages and blogs in Confluence.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
-
crawlAttachments
TRUE
to index attachments of pages and blogs in Confluence.- Parameters:
crawlAttachments
-TRUE
to 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
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
AttachentFieldMappings
parameter, 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 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
AttachentFieldMappings
parameter, 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
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
AttachentFieldMappings
parameter, 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 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
AttachentFieldMappings
parameter, 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
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 theAttachentFieldMappings
parameter, you must specify at least one field mapping.ConfluenceAttachmentToIndexFieldMapping.Builder
avoiding the need to create one manually viaConfluenceAttachmentToIndexFieldMapping.builder()
.When the
Consumer
completes,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:
-