Class CfnFlowVersionPropsMixin.FieldForRerankingProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowVersionPropsMixin.FieldForRerankingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.FieldForRerankingProperty>
- Enclosing interface:
CfnFlowVersionPropsMixin.FieldForRerankingProperty
@Stability(Stable)
public static final class CfnFlowVersionPropsMixin.FieldForRerankingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.FieldForRerankingProperty>
A builder for
CfnFlowVersionPropsMixin.FieldForRerankingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowVersionPropsMixin.FieldForRerankingProperty.getFieldName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldName
@Stability(Stable) public CfnFlowVersionPropsMixin.FieldForRerankingProperty.Builder fieldName(String fieldName) Sets the value ofCfnFlowVersionPropsMixin.FieldForRerankingProperty.getFieldName()- Parameters:
fieldName- The name of the metadata field to be used during the reranking process.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersionPropsMixin.FieldForRerankingProperty>- Returns:
- a new instance of
CfnFlowVersionPropsMixin.FieldForRerankingProperty - Throws:
NullPointerException- if any required attribute was not provided
-