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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnIndex.DocumentMetadataConfigurationProperty
static final class
An implementation forCfnIndex.DocumentMetadataConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
getName()
The name of the index field.default Object
Provides tuning parameters to determine how the field affects the search results.default Object
Provides 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
-
getName
The name of the index field. -
getType
The data type of the index field. -
getRelevance
Provides tuning parameters to determine how the field affects the search results. -
getSearch
Provides information about how the field is used during a search. -
builder
-