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