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