Interface CfnIndex.DocumentMetadataConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnIndex.DocumentMetadataConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnIndex

@Stability(Stable) public static interface CfnIndex.DocumentMetadataConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Specifies the properties, such as relevance tuning and searchability, of an index field.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.kendra.*;
 DocumentMetadataConfigurationProperty documentMetadataConfigurationProperty = DocumentMetadataConfigurationProperty.builder()
         .name("name")
         .type("type")
         // the properties below are optional
         .relevance(RelevanceProperty.builder()
                 .duration("duration")
                 .freshness(false)
                 .importance(123)
                 .rankOrder("rankOrder")
                 .valueImportanceItems(List.of(ValueImportanceItemProperty.builder()
                         .key("key")
                         .value(123)
                         .build()))
                 .build())
         .search(SearchProperty.builder()
                 .displayable(false)
                 .facetable(false)
                 .searchable(false)
                 .sortable(false)
                 .build())
         .build();