Interface MetadataConfigurationForReranking.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<MetadataConfigurationForReranking.Builder,,- MetadataConfigurationForReranking> - SdkBuilder<MetadataConfigurationForReranking.Builder,,- MetadataConfigurationForReranking> - SdkPojo
- Enclosing class:
- MetadataConfigurationForReranking
@Mutable
@NotThreadSafe
public static interface MetadataConfigurationForReranking.Builder
extends SdkPojo, CopyableBuilder<MetadataConfigurationForReranking.Builder,MetadataConfigurationForReranking> 
- 
Method SummaryModifier and TypeMethodDescriptionselectionMode(String selectionMode) Specifies whether to consider all metadata when reranking, or only the metadata that you select.selectionMode(RerankingMetadataSelectionMode selectionMode) Specifies whether to consider all metadata when reranking, or only the metadata that you select.selectiveModeConfiguration(Consumer<RerankingMetadataSelectiveModeConfiguration.Builder> selectiveModeConfiguration) Contains configurations for the metadata fields to include or exclude when considering reranking.selectiveModeConfiguration(RerankingMetadataSelectiveModeConfiguration selectiveModeConfiguration) Contains configurations for the metadata fields to include or exclude when considering reranking.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
selectionModeSpecifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify SELECTIVE, include theselectiveModeConfigurationfield.- Parameters:
- selectionMode- Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify- SELECTIVE, include the- selectiveModeConfigurationfield.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
selectionModeMetadataConfigurationForReranking.Builder selectionMode(RerankingMetadataSelectionMode selectionMode) Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify SELECTIVE, include theselectiveModeConfigurationfield.- Parameters:
- selectionMode- Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify- SELECTIVE, include the- selectiveModeConfigurationfield.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
selectiveModeConfigurationMetadataConfigurationForReranking.Builder selectiveModeConfiguration(RerankingMetadataSelectiveModeConfiguration selectiveModeConfiguration) Contains configurations for the metadata fields to include or exclude when considering reranking. - Parameters:
- selectiveModeConfiguration- Contains configurations for the metadata fields to include or exclude when considering reranking.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
selectiveModeConfigurationdefault MetadataConfigurationForReranking.Builder selectiveModeConfiguration(Consumer<RerankingMetadataSelectiveModeConfiguration.Builder> selectiveModeConfiguration) Contains configurations for the metadata fields to include or exclude when considering reranking. This is a convenience method that creates an instance of theRerankingMetadataSelectiveModeConfiguration.Builderavoiding the need to create one manually viaRerankingMetadataSelectiveModeConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselectiveModeConfiguration(RerankingMetadataSelectiveModeConfiguration).- Parameters:
- selectiveModeConfiguration- a consumer that will call methods on- RerankingMetadataSelectiveModeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-