UploadOptions

class UploadOptions

A container for the possible options when creating file.

UploadOptions is a immutable container for the allowed options when creating files through createFile, createFile. createFile, or createFile

Instances of the class can be created either the create method or by mutating an existing object by calling newBuilder.

The DEFAULT instance is pre-configured for the most common usage cases.

Types

Builder
Link copied to clipboard
open class Builder
A builder for configuring and creating new UploadOptions instances.

Functions

create
Link copied to clipboard
open fun create(): UploadOptions.Builder
Creates new default Builder.
equals
Link copied to clipboard
open fun equals(o: Any): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
newBuilder
Link copied to clipboard
open fun newBuilder(): UploadOptions.Builder
Creates Builder from UploadOptions.
overrideFile
Link copied to clipboard
open fun overrideFile(): Boolean
partialUpload
Link copied to clipboard
open fun partialUpload(): Boolean

Properties

DEFAULT
Link copied to clipboard
val DEFAULT: UploadOptions
The default instance of UploadOptions.
OVERRIDE_FILE
Link copied to clipboard
val OVERRIDE_FILE: UploadOptions
The default instance of UploadOptions.
PARTIAL_UPLOAD
Link copied to clipboard
val PARTIAL_UPLOAD: UploadOptions
The default instance of UploadOptions.