Class BrowserJavascriptExecInput.Builder
-
- All Implemented Interfaces:
public final class BrowserJavascriptExecInput.BuilderA builder for BrowserJavascriptExecInput.
-
-
Method Summary
-
-
Method Detail
-
text
final BrowserJavascriptExecInput.Builder text(String text)
JavaScript to execute in the page context.
-
text
final BrowserJavascriptExecInput.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tabId
final BrowserJavascriptExecInput.Builder tabId(String tabId)
Tab to act on. Defaults to the active tab when omitted.
-
tabId
final BrowserJavascriptExecInput.Builder tabId(Optional<String> tabId)
Alias for calling Builder.tabId with
tabId.orElse(null).
-
tabId
final BrowserJavascriptExecInput.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.
-
additionalProperties
final BrowserJavascriptExecInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BrowserJavascriptExecInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BrowserJavascriptExecInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BrowserJavascriptExecInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BrowserJavascriptExecInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BrowserJavascriptExecInput build()
Returns an immutable instance of BrowserJavascriptExecInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text()
-
-
-
-