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();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndex.DocumentMetadataConfigurationPropertystatic final classAn implementation forCfnIndex.DocumentMetadataConfigurationProperty
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()getName()The name of the index field.default ObjectProvides tuning parameters to determine how the field affects the search results.default ObjectProvides information about how the field is used during a search.getType()The data type of the index field.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getNameThe name of the index field.- See Also:
 
- 
getTypeThe data type of the index field.- See Also:
 
- 
getRelevanceProvides tuning parameters to determine how the field affects the search results.Returns union: either IResolvableorCfnIndex.RelevanceProperty- See Also:
 
- 
getSearchProvides information about how the field is used during a search.Returns union: either IResolvableorCfnIndex.SearchProperty- See Also:
 
- 
builder
 
-