Class CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty>
- Enclosing interface:
CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty
@Stability(Stable)
public static final class CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalModelRequestFields(Object additionalModelRequestFields) build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
modelArn
@Stability(Stable) public CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty.Builder modelArn(String modelArn) - Parameters:
modelArn- The Amazon Resource Name (ARN) of the foundation model to use for reranking. This parameter is required. This model processes the query and search results to determine a more relevant ordering.- Returns:
this
-
additionalModelRequestFields
@Stability(Stable) public CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty.Builder additionalModelRequestFields(Object additionalModelRequestFields) Sets the value ofCfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty.getAdditionalModelRequestFields()- Parameters:
additionalModelRequestFields- A list of additional fields to include in the model request during reranking. These fields provide extra context or configuration options specific to the selected foundation model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty>- Returns:
- a new instance of
CfnFlow.VectorSearchBedrockRerankingModelConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-