Class CfnIndexPropsMixin.ValueImportanceItemProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnIndexPropsMixin.ValueImportanceItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIndexPropsMixin.ValueImportanceItemProperty>
- Enclosing interface:
CfnIndexPropsMixin.ValueImportanceItemProperty
@Stability(Stable)
public static final class CfnIndexPropsMixin.ValueImportanceItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIndexPropsMixin.ValueImportanceItemProperty>
A builder for
CfnIndexPropsMixin.ValueImportanceItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnIndexPropsMixin.ValueImportanceItemProperty.getKey()Sets the value ofCfnIndexPropsMixin.ValueImportanceItemProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
key
Sets the value ofCfnIndexPropsMixin.ValueImportanceItemProperty.getKey()- Parameters:
key- The document metadata value used for the search boost.- Returns:
this
-
value
@Stability(Stable) public CfnIndexPropsMixin.ValueImportanceItemProperty.Builder value(Number value) Sets the value ofCfnIndexPropsMixin.ValueImportanceItemProperty.getValue()- Parameters:
value- The boost value for a document when the key is part of the metadata of a document.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIndexPropsMixin.ValueImportanceItemProperty>- Returns:
- a new instance of
CfnIndexPropsMixin.ValueImportanceItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-