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 Details

    • crawlAttachments

      ConfluenceAttachmentConfiguration.Builder crawlAttachments(Boolean 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

      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 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.

      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 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.

      This is a convenience method that creates an instance of the ConfluenceAttachmentToIndexFieldMapping.Builder avoiding the need to create one manually via ConfluenceAttachmentToIndexFieldMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attachmentFieldMappings(List<ConfluenceAttachmentToIndexFieldMapping>).

      Parameters:
      attachmentFieldMappings - a consumer that will call methods on ConfluenceAttachmentToIndexFieldMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: