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