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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UploadObject(String name, FilePath src, String url, String sas, String storageType, String storageAccount, PartialBlobProperties blobProperties, Map<String,String> metadata)
Default Constructor for UploadObject.UploadObject(String name, FilePath src, String url, String sas, String storageType, String storageAccount, String containerOrShareName, PartialBlobProperties blobProperties, Map<String,String> metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartialBlobProperties
getBlobProperties()
String
getContainerOrShareName()
Map<String,String>
getMetadata()
String
getName()
String
getSas()
FilePath
getSrc()
String
getStorageAccount()
String
getStorageType()
String
getUrl()
-
-
-
Constructor Detail
-
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.
-
-
Method Detail
-
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()
-
-