public static class StorageOptions.Builder extends ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>
Inherited Members
com.google.cloud.ServiceOptions.Builder.build()
com.google.cloud.ServiceOptions.Builder.getAllowedClientLibTokens()
com.google.cloud.ServiceOptions.Builder.self()
com.google.cloud.ServiceOptions.Builder.setClientLibToken(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setClock(com.google.api.core.ApiClock)
com.google.cloud.ServiceOptions.Builder.setCredentials(com.google.auth.Credentials)
com.google.cloud.ServiceOptions.Builder.setHeaderProvider(com.google.api.gax.rpc.HeaderProvider)
com.google.cloud.ServiceOptions.Builder.setHost(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setProjectId(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setQuotaProjectId(java.lang.String)
com.google.cloud.ServiceOptions.Builder.setRetrySettings(com.google.api.gax.retrying.RetrySettings)
com.google.cloud.ServiceOptions.Builder.setServiceFactory(com.google.cloud.ServiceFactory<ServiceT,OptionsT>)
com.google.cloud.ServiceOptions.Builder.setServiceRpcFactory(com.google.cloud.spi.ServiceRpcFactory<OptionsT>)
com.google.cloud.ServiceOptions.Builder.setTransportOptions(com.google.cloud.TransportOptions)
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. See Also: StorageRetryStrategy#getDefaultStorageRetryStrategy()
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)