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