Package com.anthropic.models.messages
Class WebFetchUrlSourceExcept.Builder
-
- All Implemented Interfaces:
public final class WebFetchUrlSourceExcept.BuilderA builder for WebFetchUrlSourceExcept.
-
-
Method Summary
-
-
Method Detail
-
tools
final WebFetchUrlSourceExcept.Builder tools(List<WebFetchUrlSourceToolReference> tools)
-
tools
final WebFetchUrlSourceExcept.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 WebFetchUrlSourceExcept.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("except")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WebFetchUrlSourceExcept.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addTool
final WebFetchUrlSourceExcept.Builder addTool(WebFetchUrlSourceToolReference tool)
Adds a single WebFetchUrlSourceToolReference to tools.
-
putAdditionalProperty
final WebFetchUrlSourceExcept.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WebFetchUrlSourceExcept.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WebFetchUrlSourceExcept.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WebFetchUrlSourceExcept.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WebFetchUrlSourceExcept build()
Returns an immutable instance of WebFetchUrlSourceExcept.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.tools()
-
-
-
-