Class CfnFlow.InlineCodeFlowNodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.InlineCodeFlowNodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.InlineCodeFlowNodeConfigurationProperty>
- Enclosing interface:
CfnFlow.InlineCodeFlowNodeConfigurationProperty
@Stability(Stable)
public static final class CfnFlow.InlineCodeFlowNodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.InlineCodeFlowNodeConfigurationProperty>
A builder for
CfnFlow.InlineCodeFlowNodeConfigurationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFlow.InlineCodeFlowNodeConfigurationProperty.getCode()
Sets the value ofCfnFlow.InlineCodeFlowNodeConfigurationProperty.getLanguage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
code
Sets the value ofCfnFlow.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 CfnFlow.InlineCodeFlowNodeConfigurationProperty.Builder language(String language) Sets the value ofCfnFlow.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<CfnFlow.InlineCodeFlowNodeConfigurationProperty>
- Returns:
- a new instance of
CfnFlow.InlineCodeFlowNodeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-