Interface ManagedSearchRerankingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ManagedSearchRerankingConfiguration.Builder,,ManagedSearchRerankingConfiguration> SdkBuilder<ManagedSearchRerankingConfiguration.Builder,,ManagedSearchRerankingConfiguration> SdkPojo
- Enclosing class:
ManagedSearchRerankingConfiguration
@Mutable
@NotThreadSafe
public static interface ManagedSearchRerankingConfiguration.Builder
extends SdkPojo, CopyableBuilder<ManagedSearchRerankingConfiguration.Builder,ManagedSearchRerankingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbedrockRerankingConfiguration(Consumer<ManagedSearchBedrockRerankingConfiguration.Builder> bedrockRerankingConfiguration) The Bedrock reranking model configuration for managed search.bedrockRerankingConfiguration(ManagedSearchBedrockRerankingConfiguration bedrockRerankingConfiguration) The Bedrock reranking model configuration for managed search.The type of reranking configuration.The type of reranking configuration.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
-
bedrockRerankingConfiguration
ManagedSearchRerankingConfiguration.Builder bedrockRerankingConfiguration(ManagedSearchBedrockRerankingConfiguration bedrockRerankingConfiguration) The Bedrock reranking model configuration for managed search.
- Parameters:
bedrockRerankingConfiguration- The Bedrock reranking model configuration for managed search.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bedrockRerankingConfiguration
default ManagedSearchRerankingConfiguration.Builder bedrockRerankingConfiguration(Consumer<ManagedSearchBedrockRerankingConfiguration.Builder> bedrockRerankingConfiguration) The Bedrock reranking model configuration for managed search.
This is a convenience method that creates an instance of theManagedSearchBedrockRerankingConfiguration.Builderavoiding the need to create one manually viaManagedSearchBedrockRerankingConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobedrockRerankingConfiguration(ManagedSearchBedrockRerankingConfiguration).- Parameters:
bedrockRerankingConfiguration- a consumer that will call methods onManagedSearchBedrockRerankingConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of reranking configuration.
- Parameters:
type- The type of reranking configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of reranking configuration.
- Parameters:
type- The type of reranking configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-