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