Interface ConfluencePageConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConfluencePageConfiguration.Builder,,ConfluencePageConfiguration> SdkBuilder<ConfluencePageConfiguration.Builder,,ConfluencePageConfiguration> SdkPojo
- Enclosing class:
ConfluencePageConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionpageFieldMappings(Collection<ConfluencePageToIndexFieldMapping> pageFieldMappings) Maps attributes or field names of Confluence pages to Amazon Kendra index field names.pageFieldMappings(Consumer<ConfluencePageToIndexFieldMapping.Builder>... pageFieldMappings) Maps attributes or field names of Confluence pages to Amazon Kendra index field names.pageFieldMappings(ConfluencePageToIndexFieldMapping... pageFieldMappings) Maps attributes or field names of Confluence pages 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
-
pageFieldMappings
ConfluencePageConfiguration.Builder pageFieldMappings(Collection<ConfluencePageToIndexFieldMapping> pageFieldMappings) Maps attributes or field names of Confluence pages 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
PageFieldMappingsparameter, you must specify at least one field mapping.- Parameters:
pageFieldMappings- Maps attributes or field names of Confluence pages 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
PageFieldMappingsparameter, you must specify at least one field mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageFieldMappings
ConfluencePageConfiguration.Builder pageFieldMappings(ConfluencePageToIndexFieldMapping... pageFieldMappings) Maps attributes or field names of Confluence pages 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
PageFieldMappingsparameter, you must specify at least one field mapping.- Parameters:
pageFieldMappings- Maps attributes or field names of Confluence pages 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
PageFieldMappingsparameter, you must specify at least one field mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageFieldMappings
ConfluencePageConfiguration.Builder pageFieldMappings(Consumer<ConfluencePageToIndexFieldMapping.Builder>... pageFieldMappings) Maps attributes or field names of Confluence pages 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 thePageFieldMappingsparameter, you must specify at least one field mapping.ConfluencePageToIndexFieldMapping.Builderavoiding the need to create one manually viaConfluencePageToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topageFieldMappings(List<ConfluencePageToIndexFieldMapping>).- Parameters:
pageFieldMappings- a consumer that will call methods onConfluencePageToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-