Interface NumberAttributeBoostingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NumberAttributeBoostingConfiguration.Builder,
,NumberAttributeBoostingConfiguration> SdkBuilder<NumberAttributeBoostingConfiguration.Builder,
,NumberAttributeBoostingConfiguration> SdkPojo
- Enclosing class:
NumberAttributeBoostingConfiguration
public static interface NumberAttributeBoostingConfiguration.Builder
extends SdkPojo, CopyableBuilder<NumberAttributeBoostingConfiguration.Builder,NumberAttributeBoostingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionboostingLevel
(String boostingLevel) Specifies the duration, in seconds, of a boost applies to aNUMBER
type document attribute.boostingLevel
(DocumentAttributeBoostingLevel boostingLevel) Specifies the duration, in seconds, of a boost applies to aNUMBER
type document attribute.boostingType
(String boostingType) Specifies how much a document attribute is boosted.boostingType
(NumberAttributeBoostingType boostingType) 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 the duration, in seconds, of a boost applies to a
NUMBER
type document attribute.- Parameters:
boostingLevel
- Specifies the duration, in seconds, of a boost applies to aNUMBER
type document attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boostingLevel
NumberAttributeBoostingConfiguration.Builder boostingLevel(DocumentAttributeBoostingLevel boostingLevel) Specifies the duration, in seconds, of a boost applies to a
NUMBER
type document attribute.- Parameters:
boostingLevel
- Specifies the duration, in seconds, of a boost applies to aNUMBER
type document attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
boostingType
Specifies how much a document attribute is boosted.
- Parameters:
boostingType
- 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:
-
boostingType
Specifies how much a document attribute is boosted.
- Parameters:
boostingType
- 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:
-