Package com.anthropic.models.messages
Class WebFetchUrlSourceOnly.Builder
-
- All Implemented Interfaces:
public final class WebFetchUrlSourceOnly.BuilderA builder for WebFetchUrlSourceOnly.
-
-
Method Summary
-
-
Method Detail
-
tools
final WebFetchUrlSourceOnly.Builder tools(List<WebFetchUrlSourceToolReference> tools)
-
tools
final WebFetchUrlSourceOnly.Builder tools(JsonField<List<WebFetchUrlSourceToolReference>> tools)
Sets Builder.tools to an arbitrary JSON value.
You should usually call Builder.tools with a well-typed
List<WebFetchUrlSourceToolReference>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final WebFetchUrlSourceOnly.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("only")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WebFetchUrlSourceOnly.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addTool
final WebFetchUrlSourceOnly.Builder addTool(WebFetchUrlSourceToolReference tool)
Adds a single WebFetchUrlSourceToolReference to tools.
-
putAdditionalProperty
final WebFetchUrlSourceOnly.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WebFetchUrlSourceOnly.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WebFetchUrlSourceOnly.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WebFetchUrlSourceOnly.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WebFetchUrlSourceOnly build()
Returns an immutable instance of WebFetchUrlSourceOnly.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.tools()
-
-
-
-