Class UploadService.UploadObject

java.lang.Object
com.microsoftopentechnologies.windowsazurestorage.service.UploadService.UploadObject
All Implemented Interfaces:
Serializable
Enclosing class:
UploadService

protected static class UploadService.UploadObject extends Object implements Serializable
Data object for https uploading command.
See Also:
  • Constructor Details

    • UploadObject

      public UploadObject(String name, FilePath src, String url, String sas, String storageType, String storageAccount, PartialBlobProperties blobProperties, Map<String,String> metadata)
      Default Constructor for UploadObject.
      Parameters:
      name - The name of the uploaded object.
      src - The location of the uploaded object.
      url - The target the url where the file will be uploaded to.
      sas - Share Access Signature for upload authentication.
      storageType - The storage type for the object, now only support Azure Blob.
      storageAccount - Storage account name for data tracing.
    • UploadObject

      public UploadObject(String name, FilePath src, String url, String sas, String storageType, String storageAccount, String containerOrShareName, PartialBlobProperties blobProperties, Map<String,String> metadata)
  • Method Details

    • getContainerOrShareName

      public String getContainerOrShareName()
    • getName

      public String getName()
    • getUrl

      public String getUrl()
    • getSas

      public String getSas()
    • getStorageType

      public String getStorageType()
    • getSrc

      public FilePath getSrc()
    • getStorageAccount

      public String getStorageAccount()
    • getBlobProperties

      public PartialBlobProperties getBlobProperties()
    • getMetadata

      public Map<String,String> getMetadata()