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