Interface StringAttributeBoostingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StringAttributeBoostingConfiguration.Builder,
,StringAttributeBoostingConfiguration> SdkBuilder<StringAttributeBoostingConfiguration.Builder,
,StringAttributeBoostingConfiguration> SdkPojo
- Enclosing class:
StringAttributeBoostingConfiguration
public static interface StringAttributeBoostingConfiguration.Builder
extends SdkPojo, CopyableBuilder<StringAttributeBoostingConfiguration.Builder,StringAttributeBoostingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionattributeValueBoosting
(Map<String, StringAttributeValueBoostingLevel> attributeValueBoosting) Specifies specific values of aSTRING
type document attribute being boosted.attributeValueBoostingWithStrings
(Map<String, String> attributeValueBoosting) Specifies specific values of aSTRING
type document attribute being boosted.boostingLevel
(String boostingLevel) Specifies how much a document attribute is boosted.boostingLevel
(DocumentAttributeBoostingLevel boostingLevel) Specifies how much a document attribute is boosted.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
boostingLevel
Specifies how much a document attribute is boosted.
- Parameters:
boostingLevel
- Specifies how much a document attribute is boosted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boostingLevel
StringAttributeBoostingConfiguration.Builder boostingLevel(DocumentAttributeBoostingLevel boostingLevel) Specifies how much a document attribute is boosted.
- Parameters:
boostingLevel
- Specifies how much a document attribute is boosted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeValueBoostingWithStrings
StringAttributeBoostingConfiguration.Builder attributeValueBoostingWithStrings(Map<String, String> attributeValueBoosting) Specifies specific values of a
STRING
type document attribute being boosted.- Parameters:
attributeValueBoosting
- Specifies specific values of aSTRING
type document attribute being boosted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeValueBoosting
StringAttributeBoostingConfiguration.Builder attributeValueBoosting(Map<String, StringAttributeValueBoostingLevel> attributeValueBoosting) Specifies specific values of a
STRING
type document attribute being boosted.- Parameters:
attributeValueBoosting
- Specifies specific values of aSTRING
type document attribute being boosted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-