Package com.anthropic.models.messages
Class WebFetchUrlSourceToolReference.Builder
-
- All Implemented Interfaces:
public final class WebFetchUrlSourceToolReference.BuilderA builder for WebFetchUrlSourceToolReference.
-
-
Method Summary
Modifier and Type Method Description final WebFetchUrlSourceToolReference.Buildername(String name)final WebFetchUrlSourceToolReference.Buildername(JsonField<String> name)Sets Builder.name to an arbitrary JSON value. final WebFetchUrlSourceToolReference.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final WebFetchUrlSourceToolReference.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final WebFetchUrlSourceToolReference.BuilderputAdditionalProperty(String key, JsonValue value)final WebFetchUrlSourceToolReference.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final WebFetchUrlSourceToolReference.BuilderremoveAdditionalProperty(String key)final WebFetchUrlSourceToolReference.BuilderremoveAllAdditionalProperties(Set<String> keys)final WebFetchUrlSourceToolReferencebuild()Returns an immutable instance of WebFetchUrlSourceToolReference. -
-
Method Detail
-
name
final WebFetchUrlSourceToolReference.Builder name(String name)
-
name
final WebFetchUrlSourceToolReference.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final WebFetchUrlSourceToolReference.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("tool_reference")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WebFetchUrlSourceToolReference.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WebFetchUrlSourceToolReference.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WebFetchUrlSourceToolReference.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WebFetchUrlSourceToolReference.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WebFetchUrlSourceToolReference.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WebFetchUrlSourceToolReference build()
Returns an immutable instance of WebFetchUrlSourceToolReference.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-