Class BrowserStateChangeDownloadStarted.Builder
-
- All Implemented Interfaces:
public final class BrowserStateChangeDownloadStarted.BuilderA builder for BrowserStateChangeDownloadStarted.
-
-
Method Summary
-
-
Method Detail
-
downloadId
final BrowserStateChangeDownloadStarted.Builder downloadId(String downloadId)
The caller-assigned identifier for this download, stable across the state changes reporting it.
-
downloadId
final BrowserStateChangeDownloadStarted.Builder downloadId(JsonField<String> downloadId)
Sets Builder.downloadId to an arbitrary JSON value.
You should usually call Builder.downloadId 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 BrowserStateChangeDownloadStarted.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("download_started")This method is primarily for setting the field to an undocumented or not yet supported value.
-
url
final BrowserStateChangeDownloadStarted.Builder url(String url)
The final post-redirect URL the download was served from.
-
url
final BrowserStateChangeDownloadStarted.Builder url(JsonField<String> url)
Sets Builder.url to an arbitrary JSON value.
You should usually call Builder.url 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 BrowserStateChangeDownloadStarted.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BrowserStateChangeDownloadStarted.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BrowserStateChangeDownloadStarted.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BrowserStateChangeDownloadStarted.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BrowserStateChangeDownloadStarted.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BrowserStateChangeDownloadStarted build()
Returns an immutable instance of BrowserStateChangeDownloadStarted.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.downloadId() .url()
-
-
-
-