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