Class CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty>
- Enclosing interface:
CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
@Stability(Stable) public CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty.Builder code(String code) - Parameters:
code- The code that's executed in your inline code node. The code can access input data from previous nodes in the flow, perform operations on that data, and produce output that can be used by other nodes in your flow.The code must be valid in the programming
languagethat you specify.- Returns:
this
-
language
@Stability(Stable) public CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty.Builder language(String language) - Parameters:
language- The programming language used by your inline code node. The code must be valid in the programminglanguagethat you specify. Currently, only Python 3 (Python_3) is supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersionPropsMixin.InlineCodeFlowNodeConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-