Class CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty>
- Enclosing interface:
CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty>
A builder for
CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.getCode()
Sets the value ofCfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.getLanguage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
@Stability(Stable) public CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.Builder code(String code) Sets the value ofCfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.getCode()
- Parameters:
code
- The code that's executed in your inline code node. This parameter is required. 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
language
that you specify.- Returns:
this
-
language
@Stability(Stable) public CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.Builder language(String language) Sets the value ofCfnFlowVersion.InlineCodeFlowNodeConfigurationProperty.getLanguage()
- Parameters:
language
- The programming language used by your inline code node. This parameter is required. The code must be valid in the programminglanguage
that you specify. Currently, only Python 3 (Python_3
) is supported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty>
- Returns:
- a new instance of
CfnFlowVersion.InlineCodeFlowNodeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-