public static final class UploadFilesRequest.Options extends Object
FILE_ENCODING
: Encoding that has been applied to the uploaded
file data. When using JSON serialization it is recommended to utilize
base64
. The caller is responsible
for encoding the data provided in this payload
Supported values:
BASE64
: Specifies that the file data being uploaded has been base64
encoded.
NONE
: The uploaded file data has not been encoded.
NONE
.
MULTIPART_OPERATION
: Multipart upload operation to perform
Supported values:
NONE
: Default, indicates this is not a multipart upload
INIT
: Initialize a multipart file upload
UPLOAD_PART
:
Uploads a part of the specified multipart file upload
COMPLETE
:
Complete the specified multipart file upload
CANCEL
: Cancel the specified multipart file upload
NONE
.
MULTIPART_UPLOAD_UUID
: UUID to uniquely identify a multipart upload
MULTIPART_UPLOAD_PART_NUMBER
: Incremental part number for each part in
a
multipart upload. Part numbers start at 1, increment by 1, and must be
uploaded
sequentially
DELETE_IF_EXISTS
: If true
,
any existing files specified in fileNames
will be deleted prior
to start of upload.
Otherwise the file is replaced once the upload completes. Rollback of
the original file is
no longer possible if the upload is cancelled, aborted or fails if the
file was deleted beforehand.
Supported values:
The default value is FALSE
.
Map
.
A set of string constants for the parameter options
.Modifier and Type | Field and Description |
---|---|
static String |
BASE64
Specifies that the file data being uploaded has been base64 encoded.
|
static String |
CANCEL
Cancel the specified multipart file upload
|
static String |
COMPLETE
Complete the specified multipart file upload
|
static String |
DELETE_IF_EXISTS
If
true ,
any existing files specified in fileNames will be deleted
prior to start of upload. |
static String |
FALSE |
static String |
FILE_ENCODING
Encoding that has been applied to the uploaded
file data.
|
static String |
INIT
Initialize a multipart file upload
|
static String |
MULTIPART_OPERATION
Multipart upload operation to perform
Supported values:
NONE : Default,
indicates this is not a multipart upload
INIT : Initialize
a multipart file upload
UPLOAD_PART : Uploads a part of the specified multipart file upload
COMPLETE :
Complete the specified multipart file upload
CANCEL : Cancel
the specified multipart file upload
The default value is NONE . |
static String |
MULTIPART_UPLOAD_PART_NUMBER
Incremental part number for each part in a
multipart upload.
|
static String |
MULTIPART_UPLOAD_UUID
UUID to uniquely identify a multipart upload
|
static String |
NONE
Default, indicates this is not a multipart upload
|
static String |
TRUE |
static String |
UPLOAD_PART
Uploads a part of the specified multipart file upload
|
public static final String FILE_ENCODING
base64
. The caller is responsible
for encoding the data provided in this payload
Supported values:
BASE64
:
Specifies that the file data being uploaded has been base64 encoded.
NONE
: The
uploaded file data has not been encoded.
NONE
.public static final String BASE64
public static final String NONE
public static final String MULTIPART_OPERATION
NONE
: Default,
indicates this is not a multipart upload
INIT
: Initialize
a multipart file upload
UPLOAD_PART
: Uploads a part of the specified multipart file upload
COMPLETE
:
Complete the specified multipart file upload
CANCEL
: Cancel
the specified multipart file upload
NONE
.public static final String INIT
public static final String UPLOAD_PART
public static final String COMPLETE
public static final String CANCEL
public static final String MULTIPART_UPLOAD_UUID
public static final String MULTIPART_UPLOAD_PART_NUMBER
public static final String DELETE_IF_EXISTS
true
,
any existing files specified in fileNames
will be deleted
prior to start of upload.
Otherwise the file is replaced once the upload completes. Rollback
of the original file is
no longer possible if the upload is cancelled, aborted or fails if
the file was deleted beforehand.
Supported values:
The default value is FALSE
.public static final String TRUE
public static final String FALSE
Copyright © 2024. All rights reserved.