Class CfnFlow.PromptFlowNodeResourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.PromptFlowNodeResourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.PromptFlowNodeResourceConfigurationProperty>
- Enclosing interface:
CfnFlow.PromptFlowNodeResourceConfigurationProperty
@Stability(Stable)
public static final class CfnFlow.PromptFlowNodeResourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.PromptFlowNodeResourceConfigurationProperty>
A builder for
CfnFlow.PromptFlowNodeResourceConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnFlow.PromptFlowNodeResourceConfigurationProperty.getPromptArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
promptArn
@Stability(Stable) public CfnFlow.PromptFlowNodeResourceConfigurationProperty.Builder promptArn(String promptArn) Sets the value ofCfnFlow.PromptFlowNodeResourceConfigurationProperty.getPromptArn()
- Parameters:
promptArn
- The Amazon Resource Name (ARN) of the prompt from Prompt management. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.PromptFlowNodeResourceConfigurationProperty>
- Returns:
- a new instance of
CfnFlow.PromptFlowNodeResourceConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-