Class UploadFilesRequest.Options

    • Field Detail

      • FILE_ENCODING

        public static final String 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.
        The default value is NONE.
        See Also:
        Constant Field Values
      • BASE64

        public static final String BASE64
        Specifies that the file data being uploaded has been base64 encoded.
        See Also:
        Constant Field Values
      • MULTIPART_OPERATION

        public static final 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.
        See Also:
        Constant Field Values
      • UPLOAD_PART

        public static final String UPLOAD_PART
        Uploads a part of the specified multipart file upload
        See Also:
        Constant Field Values
      • MULTIPART_UPLOAD_UUID

        public static final String MULTIPART_UPLOAD_UUID
        UUID to uniquely identify a multipart upload
        See Also:
        Constant Field Values
      • MULTIPART_UPLOAD_PART_NUMBER

        public static final String 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
        See Also:
        Constant Field Values
      • DELETE_IF_EXISTS

        public static final String 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.
        See Also:
        Constant Field Values