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