public static class KeysDownloader.Builder extends Object
KeysDownloader.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
KeysDownloader |
build() |
KeysDownloader.Builder |
setExecutor(Executor val)
Sets the background executor.
|
KeysDownloader.Builder |
setHttpTransport(com.google.api.client.http.HttpTransport httpTransport)
Sets the HTTP transport.
|
KeysDownloader.Builder |
setUrl(String val)
Sets the url which must point to a HTTPS server.
|
@CanIgnoreReturnValue public KeysDownloader.Builder setUrl(String val)
@CanIgnoreReturnValue public KeysDownloader.Builder setExecutor(Executor val)
@CanIgnoreReturnValue public KeysDownloader.Builder setHttpTransport(com.google.api.client.http.HttpTransport httpTransport)
You generally should not need to set a custom transport as the default transport KeysDownloader.DEFAULT_HTTP_TRANSPORT should be suited for most use cases.
public KeysDownloader build()