Interface CfnIndexPropsMixin.DocumentMetadataConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnIndexPropsMixin.DocumentMetadataConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnIndexPropsMixin
@Stability(Stable)
public static interface CfnIndexPropsMixin.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.cfnpropertymixins.services.kendra.*;
DocumentMetadataConfigurationProperty documentMetadataConfigurationProperty = DocumentMetadataConfigurationProperty.builder()
.name("name")
.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())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnIndexPropsMixin.DocumentMetadataConfigurationPropertystatic final classAn implementation forCfnIndexPropsMixin.DocumentMetadataConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetName()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.default StringgetType()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.- See Also:
-
getRelevance
Provides tuning parameters to determine how the field affects the search results.Returns union: either
IResolvableorCfnIndexPropsMixin.RelevanceProperty- See Also:
-
getSearch
Provides information about how the field is used during a search.Returns union: either
IResolvableorCfnIndexPropsMixin.SearchProperty- See Also:
-
getType
The data type of the index field.- See Also:
-
builder
@Stability(Stable) static CfnIndexPropsMixin.DocumentMetadataConfigurationProperty.Builder builder()
-