Class CfnFlowVersion.PromptFlowNodeConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.PromptFlowNodeConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.PromptFlowNodeConfigurationProperty>
- Enclosing interface:
CfnFlowVersion.PromptFlowNodeConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersion.PromptFlowNodeConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.PromptFlowNodeConfigurationProperty>
A builder for
CfnFlowVersion.PromptFlowNodeConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.sourceConfiguration
(IResolvable sourceConfiguration) sourceConfiguration
(CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty sourceConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceConfiguration
@Stability(Stable) public CfnFlowVersion.PromptFlowNodeConfigurationProperty.Builder sourceConfiguration(IResolvable sourceConfiguration) - Parameters:
sourceConfiguration
- Specifies whether the prompt is from Prompt management or defined inline. This parameter is required.- Returns:
this
-
sourceConfiguration
@Stability(Stable) public CfnFlowVersion.PromptFlowNodeConfigurationProperty.Builder sourceConfiguration(CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty sourceConfiguration) - Parameters:
sourceConfiguration
- Specifies whether the prompt is from Prompt management or defined inline. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.PromptFlowNodeConfigurationProperty>
- Returns:
- a new instance of
CfnFlowVersion.PromptFlowNodeConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-