Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Function |
build() |
Function.Builder |
copy(Function model) |
Function.Builder |
description(String description)
A description of the function.
|
Function.Builder |
name(String name)
The name of the function to invoke.
|
Function.Builder |
parameters(Map<String,String> parameters)
The parameters the function accepts, defined using a JSON Schema object.
|
public Function.Builder name(String name)
The name of the function to invoke.
name
- the value to setpublic Function.Builder description(String description)
A description of the function.
description
- the value to setpublic Function.Builder parameters(Map<String,String> parameters)
The parameters the function accepts, defined using a JSON Schema object. Refer to the guide for examples and the JSON Schema documentation for details on the format.
parameters
- the value to setpublic Function build()
public Function.Builder copy(Function model)
Copyright © 2016–2025. All rights reserved.