public static class StorageOptions.Builder extends ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
Methods
build()
public StorageOptions build()
Type | Description |
StorageOptions |
com.google.cloud.ServiceOptions.Builder.build()
setStorageRetryStrategy(StorageRetryStrategy storageRetryStrategy)
public StorageOptions.Builder setStorageRetryStrategy(StorageRetryStrategy storageRetryStrategy)
Override the default retry handling behavior with an alternate strategy.
Name | Description |
storageRetryStrategy | StorageRetryStrategy a non-null storageRetryStrategy to use |
Type | Description |
StorageOptions.Builder | the builder |
setTransportOptions(TransportOptions transportOptions)
public StorageOptions.Builder setTransportOptions(TransportOptions transportOptions)
Name | Description |
transportOptions | com.google.cloud.TransportOptions |
Type | Description |
StorageOptions.Builder |
com.google.cloud.ServiceOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions)