Class UploadOptions.Builder (2.0.0)

public static final class UploadOptions.Builder

Contains static creation methods for UploadOptions.

Inheritance

java.lang.Object > UploadOptions.Builder

Static Methods

withDefaults()

public static UploadOptions withDefaults()

Returns default UploadOptions with default values.

Returns
Type Description
UploadOptions

withGoogleStorageBucketName(String gsBucketName)

public static UploadOptions withGoogleStorageBucketName(String gsBucketName)
Parameter
Name Description
gsBucketName String
Returns
Type Description
UploadOptions

withMaxUploadSizeBytes(long maxUploadSizeBytes)

public static UploadOptions withMaxUploadSizeBytes(long maxUploadSizeBytes)
Parameter
Name Description
maxUploadSizeBytes long
Returns
Type Description
UploadOptions

withMaxUploadSizeBytesPerBlob(long maxUploadSizeBytesPerBlob)

public static UploadOptions withMaxUploadSizeBytesPerBlob(long maxUploadSizeBytesPerBlob)
Parameter
Name Description
maxUploadSizeBytesPerBlob long
Returns
Type Description
UploadOptions