Class CfnPromptVersionPropsMixin.ToolInputSchemaProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnPromptVersionPropsMixin.ToolInputSchemaProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPromptVersionPropsMixin.ToolInputSchemaProperty>
- Enclosing interface:
CfnPromptVersionPropsMixin.ToolInputSchemaProperty
@Stability(Stable)
public static final class CfnPromptVersionPropsMixin.ToolInputSchemaProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPromptVersionPropsMixin.ToolInputSchemaProperty>
A builder for
CfnPromptVersionPropsMixin.ToolInputSchemaProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPromptVersionPropsMixin.ToolInputSchemaProperty.getJson()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
json
@Stability(Stable) public CfnPromptVersionPropsMixin.ToolInputSchemaProperty.Builder json(Object json) Sets the value ofCfnPromptVersionPropsMixin.ToolInputSchemaProperty.getJson()- Parameters:
json- The JSON schema for the tool. For more information, see JSON Schema Reference .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPromptVersionPropsMixin.ToolInputSchemaProperty>- Returns:
- a new instance of
CfnPromptVersionPropsMixin.ToolInputSchemaProperty - Throws:
NullPointerException- if any required attribute was not provided
-