Class CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty>
- Enclosing interface:
CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty>
A builder for
CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.inline(IResolvable inline) Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getInline()Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getInline()resource(IResolvable resource) Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getResource()Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getResource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
inline
@Stability(Stable) public CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.Builder inline(IResolvable inline) Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getInline()- Parameters:
inline- Contains configurations for a prompt that is defined inline.- Returns:
this
-
inline
@Stability(Stable) public CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.Builder inline(CfnFlowVersion.PromptFlowNodeInlineConfigurationProperty inline) Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getInline()- Parameters:
inline- Contains configurations for a prompt that is defined inline.- Returns:
this
-
resource
@Stability(Stable) public CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.Builder resource(IResolvable resource) Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getResource()- Parameters:
resource- Contains configurations for a prompt from Prompt management.- Returns:
this
-
resource
@Stability(Stable) public CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.Builder resource(CfnFlowVersion.PromptFlowNodeResourceConfigurationProperty resource) Sets the value ofCfnFlowVersion.PromptFlowNodeSourceConfigurationProperty.getResource()- Parameters:
resource- Contains configurations for a prompt from Prompt management.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersion.PromptFlowNodeSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-