public static interface CfnIndex.DocumentMetadataConfigurationProperty
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() |
java.lang.String |
getName()
The name of the index field.
|
default java.lang.Object |
getRelevance()
Provides manual tuning parameters to determine how the field affects the search results.
|
default java.lang.Object |
getSearch()
Provides information about how the field is used during a search.
|
java.lang.String |
getType()
The data type of the index field.
|
java.lang.String getName()
java.lang.String getType()
default java.lang.Object getRelevance()
default java.lang.Object getSearch()
static CfnIndex.DocumentMetadataConfigurationProperty.Builder builder()