Class UploadRequest


  • public class UploadRequest
    extends Object
    Wrapper object for upload data
    • Method Detail

      • getKey

        public String getKey()
        (Required parameter) The name of the blob
      • getContentLength

        public long getContentLength()
        (Optional parameter) The length of the content in bytes. Note that specifying the contentLength can dramatically improve upload efficiency because the substrate SDKs do not need to buffer the contents and calculate it themselves.
      • getTags

        public Map<String,​String> getTags()
        (Optional parameter) The map of tagName to tagValue to be associated with the blob
      • getStorageClass

        public String getStorageClass()
        (Optional parameter) The storage class for the blob (e.g., STANDARD, NEARLINE, COLDLINE, ARCHIVE for GCP)
      • getKmsKeyId

        public String getKmsKeyId()
        (Optional parameter) The KMS key ID or ARN to use for server-side encryption