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