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