Class CfnPrompt.PromptInputVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnPrompt.PromptInputVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrompt.PromptInputVariableProperty>
- Enclosing interface:
CfnPrompt.PromptInputVariableProperty
@Stability(Stable)
public static final class CfnPrompt.PromptInputVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrompt.PromptInputVariableProperty>
A builder for
CfnPrompt.PromptInputVariableProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPrompt.PromptInputVariableProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPrompt.PromptInputVariableProperty.getName()
- Parameters:
name
- The name of the variable.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPrompt.PromptInputVariableProperty>
- Returns:
- a new instance of
CfnPrompt.PromptInputVariableProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-