Class BetaBrowserFileUploadInput.Builder
-
- All Implemented Interfaces:
public final class BetaBrowserFileUploadInput.BuilderA builder for BetaBrowserFileUploadInput.
-
-
Method Summary
-
-
Method Detail
-
target
final BetaBrowserFileUploadInput.Builder target(BetaBrowserRefTarget target)
An element on the page, identified by a reference from a prior
read_pageorfindresult. References are scoped to the tab that produced them and become stale after navigation or a major re-render.
-
target
final BetaBrowserFileUploadInput.Builder target(JsonField<BetaBrowserRefTarget> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed BetaBrowserRefTarget value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
documentIds
final BetaBrowserFileUploadInput.Builder documentIds(List<String> documentIds)
References to files the harness has staged, for deployments where the browser executor cannot read the caller's filesystem.
-
documentIds
final BetaBrowserFileUploadInput.Builder documentIds(Optional<List<String>> documentIds)
Alias for calling Builder.documentIds with
documentIds.orElse(null).
-
documentIds
final BetaBrowserFileUploadInput.Builder documentIds(JsonField<List<String>> documentIds)
Sets Builder.documentIds to an arbitrary JSON value.
You should usually call Builder.documentIds with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
paths
final BetaBrowserFileUploadInput.Builder paths(List<String> paths)
File paths on the browser executor's filesystem.
-
paths
final BetaBrowserFileUploadInput.Builder paths(Optional<List<String>> paths)
Alias for calling Builder.paths with
paths.orElse(null).
-
paths
final BetaBrowserFileUploadInput.Builder paths(JsonField<List<String>> paths)
Sets Builder.paths to an arbitrary JSON value.
You should usually call Builder.paths with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tabId
final BetaBrowserFileUploadInput.Builder tabId(String tabId)
Tab to act on. Defaults to the active tab when omitted.
-
tabId
final BetaBrowserFileUploadInput.Builder tabId(Optional<String> tabId)
Alias for calling Builder.tabId with
tabId.orElse(null).
-
tabId
final BetaBrowserFileUploadInput.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 BetaBrowserFileUploadInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
addDocumentId
final BetaBrowserFileUploadInput.Builder addDocumentId(String documentId)
Adds a single String to documentIds.
-
addPath
final BetaBrowserFileUploadInput.Builder addPath(String path)
-
putAdditionalProperty
final BetaBrowserFileUploadInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaBrowserFileUploadInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaBrowserFileUploadInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaBrowserFileUploadInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaBrowserFileUploadInput build()
Returns an immutable instance of BetaBrowserFileUploadInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.target()
-
-
-
-