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