Class ComputerKeyInput.Builder
-
- All Implemented Interfaces:
public final class ComputerKeyInput.BuilderA builder for ComputerKeyInput.
-
-
Method Summary
-
-
Method Detail
-
text
final ComputerKeyInput.Builder text(String text)
The key or key-combination to press.
-
text
final ComputerKeyInput.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 ComputerKeyInput.Builder repeat(Long repeat)
Number of times to repeat the key press. Default is 1.
-
repeat
final ComputerKeyInput.Builder repeat(Long repeat)
Alias for Builder.repeat.
This unboxed primitive overload exists for backwards compatibility.
-
repeat
final ComputerKeyInput.Builder repeat(Optional<Long> repeat)
Alias for calling Builder.repeat with
repeat.orElse(null).
-
repeat
final ComputerKeyInput.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.
-
additionalProperties
final ComputerKeyInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ComputerKeyInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ComputerKeyInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ComputerKeyInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ComputerKeyInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ComputerKeyInput build()
Returns an immutable instance of ComputerKeyInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text()
-
-
-
-