Class StorageOptions.Builder (2.43.2)

public abstract static class StorageOptions.Builder extends ServiceOptions.Builder<Storage,StorageOptions,StorageOptions.Builder>

Inheritance

java.lang.Object > com.google.cloud.ServiceOptions.Builder > StorageOptions.Builder

Methods

build()

public abstract StorageOptions build()
Returns
Type Description
StorageOptions
Overrides
com.google.cloud.ServiceOptions.Builder.build()

setBlobWriteSessionConfig(@NonNull BlobWriteSessionConfig blobWriteSessionConfig)

public abstract StorageOptions.Builder setBlobWriteSessionConfig(@NonNull BlobWriteSessionConfig blobWriteSessionConfig)

See Also: Storage#blobWriteSession(BlobInfo, BlobWriteOption...), BlobWriteSessionConfigs, HttpStorageDefaults#getDefaultStorageWriterConfig(), BlobWriteSessionConfig, GrpcStorageDefaults#getDefaultStorageWriterConfig()

Parameter
Name Description
blobWriteSessionConfig @org.checkerframework.checker.nullness.qual.NonNull com.google.cloud.storage.BlobWriteSessionConfig
Returns
Type Description
StorageOptions.Builder

setStorageRetryStrategy(StorageRetryStrategy storageRetryStrategy)

public abstract StorageOptions.Builder setStorageRetryStrategy(StorageRetryStrategy storageRetryStrategy)
Parameter
Name Description
storageRetryStrategy StorageRetryStrategy
Returns
Type Description
StorageOptions.Builder