Interface DocumentAttributeBoostingConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DocumentAttributeBoostingConfiguration.Builder,
,DocumentAttributeBoostingConfiguration> SdkBuilder<DocumentAttributeBoostingConfiguration.Builder,
,DocumentAttributeBoostingConfiguration> SdkPojo
- Enclosing class:
DocumentAttributeBoostingConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondateConfiguration
(Consumer<DateAttributeBoostingConfiguration.Builder> dateConfiguration) Provides information on boostingDATE
type document attributes.dateConfiguration
(DateAttributeBoostingConfiguration dateConfiguration) Provides information on boostingDATE
type document attributes.numberConfiguration
(Consumer<NumberAttributeBoostingConfiguration.Builder> numberConfiguration) Provides information on boostingNUMBER
type document attributes.numberConfiguration
(NumberAttributeBoostingConfiguration numberConfiguration) Provides information on boostingNUMBER
type document attributes.stringConfiguration
(Consumer<StringAttributeBoostingConfiguration.Builder> stringConfiguration) Provides information on boostingSTRING
type document attributes.stringConfiguration
(StringAttributeBoostingConfiguration stringConfiguration) Provides information on boostingSTRING
type document attributes.stringListConfiguration
(Consumer<StringListAttributeBoostingConfiguration.Builder> stringListConfiguration) Provides information on boostingSTRING_LIST
type document attributes.stringListConfiguration
(StringListAttributeBoostingConfiguration stringListConfiguration) Provides information on boostingSTRING_LIST
type document attributes.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, sdkFieldNameToField, sdkFields
-
Method Details
-
numberConfiguration
DocumentAttributeBoostingConfiguration.Builder numberConfiguration(NumberAttributeBoostingConfiguration numberConfiguration) Provides information on boosting
NUMBER
type document attributes.NUMBER
attributes are not supported when usingNativeIndexConfiguration
version 2, which focuses onDATE
attributes for recency andSTRING
attributes for source prioritization.- Parameters:
numberConfiguration
- Provides information on boostingNUMBER
type document attributes.NUMBER
attributes are not supported when usingNativeIndexConfiguration
version 2, which focuses onDATE
attributes for recency andSTRING
attributes for source prioritization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberConfiguration
default DocumentAttributeBoostingConfiguration.Builder numberConfiguration(Consumer<NumberAttributeBoostingConfiguration.Builder> numberConfiguration) Provides information on boosting
NUMBER
type document attributes.NUMBER
attributes are not supported when usingNativeIndexConfiguration
version 2, which focuses onDATE
attributes for recency andSTRING
attributes for source prioritization.NumberAttributeBoostingConfiguration.Builder
avoiding the need to create one manually viaNumberAttributeBoostingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonumberConfiguration(NumberAttributeBoostingConfiguration)
.- Parameters:
numberConfiguration
- a consumer that will call methods onNumberAttributeBoostingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stringConfiguration
DocumentAttributeBoostingConfiguration.Builder stringConfiguration(StringAttributeBoostingConfiguration stringConfiguration) Provides information on boosting
STRING
type document attributes.Version 2 assigns priority tiers to
STRING
attributes, establishing clear hierarchical relationships with other boosted attributes.- Parameters:
stringConfiguration
- Provides information on boostingSTRING
type document attributes.Version 2 assigns priority tiers to
STRING
attributes, establishing clear hierarchical relationships with other boosted attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringConfiguration
default DocumentAttributeBoostingConfiguration.Builder stringConfiguration(Consumer<StringAttributeBoostingConfiguration.Builder> stringConfiguration) Provides information on boosting
STRING
type document attributes.Version 2 assigns priority tiers to
This is a convenience method that creates an instance of theSTRING
attributes, establishing clear hierarchical relationships with other boosted attributes.StringAttributeBoostingConfiguration.Builder
avoiding the need to create one manually viaStringAttributeBoostingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostringConfiguration(StringAttributeBoostingConfiguration)
.- Parameters:
stringConfiguration
- a consumer that will call methods onStringAttributeBoostingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dateConfiguration
DocumentAttributeBoostingConfiguration.Builder dateConfiguration(DateAttributeBoostingConfiguration dateConfiguration) Provides information on boosting
DATE
type document attributes.Version 2 assigns priority tiers to
DATE
attributes, establishing clear hierarchical relationships with other boosted attributes.- Parameters:
dateConfiguration
- Provides information on boostingDATE
type document attributes.Version 2 assigns priority tiers to
DATE
attributes, establishing clear hierarchical relationships with other boosted attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateConfiguration
default DocumentAttributeBoostingConfiguration.Builder dateConfiguration(Consumer<DateAttributeBoostingConfiguration.Builder> dateConfiguration) Provides information on boosting
DATE
type document attributes.Version 2 assigns priority tiers to
This is a convenience method that creates an instance of theDATE
attributes, establishing clear hierarchical relationships with other boosted attributes.DateAttributeBoostingConfiguration.Builder
avoiding the need to create one manually viaDateAttributeBoostingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todateConfiguration(DateAttributeBoostingConfiguration)
.- Parameters:
dateConfiguration
- a consumer that will call methods onDateAttributeBoostingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stringListConfiguration
DocumentAttributeBoostingConfiguration.Builder stringListConfiguration(StringListAttributeBoostingConfiguration stringListConfiguration) Provides information on boosting
STRING_LIST
type document attributes.STRING_LIST
attributes are not supported when usingNativeIndexConfiguration
version 2, which focuses onDATE
attributes for recency andSTRING
attributes for source prioritization.- Parameters:
stringListConfiguration
- Provides information on boostingSTRING_LIST
type document attributes.STRING_LIST
attributes are not supported when usingNativeIndexConfiguration
version 2, which focuses onDATE
attributes for recency andSTRING
attributes for source prioritization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stringListConfiguration
default DocumentAttributeBoostingConfiguration.Builder stringListConfiguration(Consumer<StringListAttributeBoostingConfiguration.Builder> stringListConfiguration) Provides information on boosting
STRING_LIST
type document attributes.STRING_LIST
attributes are not supported when usingNativeIndexConfiguration
version 2, which focuses onDATE
attributes for recency andSTRING
attributes for source prioritization.StringListAttributeBoostingConfiguration.Builder
avoiding the need to create one manually viaStringListAttributeBoostingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostringListConfiguration(StringListAttributeBoostingConfiguration)
.- Parameters:
stringListConfiguration
- a consumer that will call methods onStringListAttributeBoostingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-