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 boostingDATEtype document attributes.dateConfiguration(DateAttributeBoostingConfiguration dateConfiguration) Provides information on boostingDATEtype document attributes.numberConfiguration(Consumer<NumberAttributeBoostingConfiguration.Builder> numberConfiguration) Provides information on boostingNUMBERtype document attributes.numberConfiguration(NumberAttributeBoostingConfiguration numberConfiguration) Provides information on boostingNUMBERtype document attributes.stringConfiguration(Consumer<StringAttributeBoostingConfiguration.Builder> stringConfiguration) Provides information on boostingSTRINGtype document attributes.stringConfiguration(StringAttributeBoostingConfiguration stringConfiguration) Provides information on boostingSTRINGtype document attributes.stringListConfiguration(Consumer<StringListAttributeBoostingConfiguration.Builder> stringListConfiguration) Provides information on boostingSTRING_LISTtype document attributes.stringListConfiguration(StringListAttributeBoostingConfiguration stringListConfiguration) Provides information on boostingSTRING_LISTtype document attributes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
numberConfiguration
DocumentAttributeBoostingConfiguration.Builder numberConfiguration(NumberAttributeBoostingConfiguration numberConfiguration) Provides information on boosting
NUMBERtype document attributes.NUMBERattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.- Parameters:
numberConfiguration- Provides information on boostingNUMBERtype document attributes.NUMBERattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes 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
NUMBERtype document attributes.
This is a convenience method that creates an instance of theNUMBERattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.NumberAttributeBoostingConfiguration.Builderavoiding the need to create one manually viaNumberAttributeBoostingConfiguration.builder().When the
Consumercompletes,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
STRINGtype document attributes.Version 2 assigns priority tiers to
STRINGattributes, establishing clear hierarchical relationships with other boosted attributes.- Parameters:
stringConfiguration- Provides information on boostingSTRINGtype document attributes.Version 2 assigns priority tiers to
STRINGattributes, 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
STRINGtype document attributes.Version 2 assigns priority tiers to
This is a convenience method that creates an instance of theSTRINGattributes, establishing clear hierarchical relationships with other boosted attributes.StringAttributeBoostingConfiguration.Builderavoiding the need to create one manually viaStringAttributeBoostingConfiguration.builder().When the
Consumercompletes,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
DATEtype document attributes.Version 2 assigns priority tiers to
DATEattributes, establishing clear hierarchical relationships with other boosted attributes.- Parameters:
dateConfiguration- Provides information on boostingDATEtype document attributes.Version 2 assigns priority tiers to
DATEattributes, 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
DATEtype document attributes.Version 2 assigns priority tiers to
This is a convenience method that creates an instance of theDATEattributes, establishing clear hierarchical relationships with other boosted attributes.DateAttributeBoostingConfiguration.Builderavoiding the need to create one manually viaDateAttributeBoostingConfiguration.builder().When the
Consumercompletes,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_LISTtype document attributes.STRING_LISTattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.- Parameters:
stringListConfiguration- Provides information on boostingSTRING_LISTtype document attributes.STRING_LISTattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes 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_LISTtype document attributes.
This is a convenience method that creates an instance of theSTRING_LISTattributes are not supported when usingNativeIndexConfigurationversion 2, which focuses onDATEattributes for recency andSTRINGattributes for source prioritization.StringListAttributeBoostingConfiguration.Builderavoiding the need to create one manually viaStringListAttributeBoostingConfiguration.builder().When the
Consumercompletes,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:
-