Class BetaBrowserStateChangeDownloadStarted.Builder
-
- All Implemented Interfaces:
public final class BetaBrowserStateChangeDownloadStarted.BuilderA builder for BetaBrowserStateChangeDownloadStarted.
-
-
Method Summary
-
-
Method Detail
-
downloadId
final BetaBrowserStateChangeDownloadStarted.Builder downloadId(String downloadId)
The caller-assigned identifier for this download, stable across the state changes reporting it.
-
downloadId
final BetaBrowserStateChangeDownloadStarted.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 BetaBrowserStateChangeDownloadStarted.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 BetaBrowserStateChangeDownloadStarted.Builder url(String url)
The final post-redirect URL the download was served from.
-
url
final BetaBrowserStateChangeDownloadStarted.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 BetaBrowserStateChangeDownloadStarted.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaBrowserStateChangeDownloadStarted.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaBrowserStateChangeDownloadStarted.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaBrowserStateChangeDownloadStarted.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaBrowserStateChangeDownloadStarted.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaBrowserStateChangeDownloadStarted build()
Returns an immutable instance of BetaBrowserStateChangeDownloadStarted.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.downloadId() .url()
-
-
-
-