@Stability(value=Stable)
public static interface CfnIndex.DocumentMetadataConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnIndex.DocumentMetadataConfigurationProperty.Builder
A builder for
CfnIndex.DocumentMetadataConfigurationProperty |
static class |
CfnIndex.DocumentMetadataConfigurationProperty.Jsii$Proxy
An implementation for
CfnIndex.DocumentMetadataConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnIndex.DocumentMetadataConfigurationProperty.Builder |
builder() |
String |
getName()
The name of the index field.
|
default Object |
getRelevance()
Provides manual tuning parameters to determine how the field affects the search results.
|
default Object |
getSearch()
Provides information about how the field is used during a search.
|
String |
getType()
The data type of the index field.
|
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) @Nullable default Object getRelevance()
@Stability(value=Stable) @Nullable default Object getSearch()
@Stability(value=Stable) static CfnIndex.DocumentMetadataConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.