Interface ConfluenceAttachmentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConfluenceAttachmentConfiguration.Builder,ConfluenceAttachmentConfiguration>,SdkBuilder<ConfluenceAttachmentConfiguration.Builder,ConfluenceAttachmentConfiguration>,SdkPojo
- Enclosing class:
- ConfluenceAttachmentConfiguration
public static interface ConfluenceAttachmentConfiguration.Builder extends SdkPojo, CopyableBuilder<ConfluenceAttachmentConfiguration.Builder,ConfluenceAttachmentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConfluenceAttachmentConfiguration.BuilderattachmentFieldMappings(Collection<ConfluenceAttachmentToIndexFieldMapping> attachmentFieldMappings)Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.ConfluenceAttachmentConfiguration.BuilderattachmentFieldMappings(Consumer<ConfluenceAttachmentToIndexFieldMapping.Builder>... attachmentFieldMappings)Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.ConfluenceAttachmentConfiguration.BuilderattachmentFieldMappings(ConfluenceAttachmentToIndexFieldMapping... attachmentFieldMappings)Maps attributes or field names of Confluence attachments to Amazon Kendra index field names.ConfluenceAttachmentConfiguration.BuildercrawlAttachments(Boolean crawlAttachments)TRUEto 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 Detail
-
crawlAttachments
ConfluenceAttachmentConfiguration.Builder crawlAttachments(Boolean 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 to#attachmentFieldMappings(List.) - 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:
#attachmentFieldMappings(java.util.Collection)
-
-