Interface RerankingMetadataSelectiveModeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,RerankingMetadataSelectiveModeConfiguration>,SdkBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,RerankingMetadataSelectiveModeConfiguration>,SdkPojo
- Enclosing class:
- RerankingMetadataSelectiveModeConfiguration
@Mutable @NotThreadSafe public static interface RerankingMetadataSelectiveModeConfiguration.Builder extends SdkPojo, CopyableBuilder<RerankingMetadataSelectiveModeConfiguration.Builder,RerankingMetadataSelectiveModeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RerankingMetadataSelectiveModeConfiguration.BuilderfieldsToExclude(Collection<FieldForReranking> fieldsToExclude)A list of metadata field names to explicitly exclude from the reranking process.RerankingMetadataSelectiveModeConfiguration.BuilderfieldsToExclude(Consumer<FieldForReranking.Builder>... fieldsToExclude)A list of metadata field names to explicitly exclude from the reranking process.RerankingMetadataSelectiveModeConfiguration.BuilderfieldsToExclude(FieldForReranking... fieldsToExclude)A list of metadata field names to explicitly exclude from the reranking process.RerankingMetadataSelectiveModeConfiguration.BuilderfieldsToInclude(Collection<FieldForReranking> fieldsToInclude)A list of metadata field names to explicitly include in the reranking process.RerankingMetadataSelectiveModeConfiguration.BuilderfieldsToInclude(Consumer<FieldForReranking.Builder>... fieldsToInclude)A list of metadata field names to explicitly include in the reranking process.RerankingMetadataSelectiveModeConfiguration.BuilderfieldsToInclude(FieldForReranking... fieldsToInclude)A list of metadata field names to explicitly include in the reranking process.-
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 Detail
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(Collection<FieldForReranking> fieldsToInclude)
A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.
- Parameters:
fieldsToInclude- A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(FieldForReranking... fieldsToInclude)
A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.
- Parameters:
fieldsToInclude- A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToInclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToInclude(Consumer<FieldForReranking.Builder>... fieldsToInclude)
A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.
This is a convenience method that creates an instance of theFieldForReranking.Builderavoiding the need to create one manually viaFieldForReranking.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fieldsToInclude(List.) - Parameters:
fieldsToInclude- a consumer that will call methods onFieldForReranking.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fieldsToInclude(java.util.Collection)
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(Collection<FieldForReranking> fieldsToExclude)
A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.
- Parameters:
fieldsToExclude- A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(FieldForReranking... fieldsToExclude)
A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.
- Parameters:
fieldsToExclude- A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldsToExclude
RerankingMetadataSelectiveModeConfiguration.Builder fieldsToExclude(Consumer<FieldForReranking.Builder>... fieldsToExclude)
A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.
This is a convenience method that creates an instance of theFieldForReranking.Builderavoiding the need to create one manually viaFieldForReranking.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fieldsToExclude(List.) - Parameters:
fieldsToExclude- a consumer that will call methods onFieldForReranking.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fieldsToExclude(java.util.Collection)
-
-