Class CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty>
- Enclosing interface:
CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.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 CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToExclude(IResolvable fieldsToExclude) Sets the value ofCfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToExclude()- Parameters:
fieldsToExclude- A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.- Returns:
this
-
fieldsToExclude
@Stability(Stable) public CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToExclude(List<? extends Object> fieldsToExclude) Sets the value ofCfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToExclude()- Parameters:
fieldsToExclude- A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.- Returns:
this
-
fieldsToInclude
@Stability(Stable) public CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToInclude(IResolvable fieldsToInclude) Sets the value ofCfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToInclude()- Parameters:
fieldsToInclude- A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.- Returns:
this
-
fieldsToInclude
@Stability(Stable) public CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.Builder fieldsToInclude(List<? extends Object> fieldsToInclude) Sets the value ofCfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty.getFieldsToInclude()- Parameters:
fieldsToInclude- A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.- Returns:
this
-
build
@Stability(Stable) public CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersionPropsMixin.RerankingMetadataSelectiveModeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-