Class CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty>
- Enclosing interface:
CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fieldsToExclude(List<? extends Object> fieldsToExclude) fieldsToExclude(IResolvable fieldsToExclude) fieldsToInclude(List<? extends Object> fieldsToInclude) fieldsToInclude(IResolvable fieldsToInclude)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldsToExclude
@Stability(Stable) public CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToExclude(IResolvable fieldsToExclude) Sets the value ofCfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToExclude()- Parameters:
fieldsToExclude- An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.- Returns:
this
-
fieldsToExclude
@Stability(Stable) public CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToExclude(List<? extends Object> fieldsToExclude) Sets the value ofCfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToExclude()- Parameters:
fieldsToExclude- An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.- Returns:
this
-
fieldsToInclude
@Stability(Stable) public CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToInclude(IResolvable fieldsToInclude) Sets the value ofCfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToInclude()- Parameters:
fieldsToInclude- An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.- Returns:
this
-
fieldsToInclude
@Stability(Stable) public CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToInclude(List<? extends Object> fieldsToInclude) Sets the value ofCfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToInclude()- Parameters:
fieldsToInclude- An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.- Returns:
this
-
build
@Stability(Stable) public CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-