Class CfnPromptPropsMixin.ToolProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptPropsMixin.ToolProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptPropsMixin.ToolProperty>
- Enclosing interface:
CfnPromptPropsMixin.ToolProperty
@Stability(Stable)
public static final class CfnPromptPropsMixin.ToolProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptPropsMixin.ToolProperty>
A builder for
CfnPromptPropsMixin.ToolProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPromptPropsMixin.ToolProperty.getCachePoint()cachePoint(IResolvable cachePoint) Sets the value ofCfnPromptPropsMixin.ToolProperty.getCachePoint()Sets the value ofCfnPromptPropsMixin.ToolProperty.getToolSpec()toolSpec(IResolvable toolSpec) Sets the value ofCfnPromptPropsMixin.ToolProperty.getToolSpec()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cachePoint
@Stability(Stable) public CfnPromptPropsMixin.ToolProperty.Builder cachePoint(IResolvable cachePoint) Sets the value ofCfnPromptPropsMixin.ToolProperty.getCachePoint()- Parameters:
cachePoint- CachePoint to include in the tool configuration.- Returns:
this
-
cachePoint
@Stability(Stable) public CfnPromptPropsMixin.ToolProperty.Builder cachePoint(CfnPromptPropsMixin.CachePointBlockProperty cachePoint) Sets the value ofCfnPromptPropsMixin.ToolProperty.getCachePoint()- Parameters:
cachePoint- CachePoint to include in the tool configuration.- Returns:
this
-
toolSpec
Sets the value ofCfnPromptPropsMixin.ToolProperty.getToolSpec()- Parameters:
toolSpec- The specfication for the tool.- Returns:
this
-
toolSpec
@Stability(Stable) public CfnPromptPropsMixin.ToolProperty.Builder toolSpec(CfnPromptPropsMixin.ToolSpecificationProperty toolSpec) Sets the value ofCfnPromptPropsMixin.ToolProperty.getToolSpec()- Parameters:
toolSpec- The specfication for the tool.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptPropsMixin.ToolProperty>- Returns:
- a new instance of
CfnPromptPropsMixin.ToolProperty - Throws:
NullPointerException- if any required attribute was not provided
-