Class FunctionToolProps.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.alpha.FunctionToolProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<FunctionToolProps>
- Enclosing interface:
FunctionToolProps
@Stability(Experimental)
public static final class FunctionToolProps.Builder
extends Object
implements software.amazon.jsii.Builder<FunctionToolProps>
A builder for
FunctionToolProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofFunctionToolProps.getDescription()
inputSchema
(Object inputSchema) Sets the value ofFunctionToolProps.getInputSchema()
Sets the value ofFunctionToolProps.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofFunctionToolProps.getDescription()
- Parameters:
description
- A description of what the function does. This parameter is required.- Returns:
this
-
inputSchema
Sets the value ofFunctionToolProps.getInputSchema()
- Parameters:
inputSchema
- The input schema for the function parameters. This parameter is required.- Returns:
this
-
name
Sets the value ofFunctionToolProps.getName()
- Parameters:
name
- The name of the function. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<FunctionToolProps>
- Returns:
- a new instance of
FunctionToolProps
- Throws:
NullPointerException
- if any required attribute was not provided
-