BlobUploadFromFileOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobUploadFromFileOptions
- com.
public class BlobUploadFromFileOptions
Extended options that may be passed when uploading a blob from a file.
Constructor Summary
Constructor | Description |
---|---|
BlobUploadFromFileOptions(String filePath) |
Constructs a BlobUploadFromFileOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobUploadFromFileOptions
public BlobUploadFromFileOptions(String filePath)
Constructs a BlobUploadFromFileOptions.
Parameters:
Method Details
getFilePath
public String getFilePath()
Gets the path of the file to upload.
Returns:
getHeaders
getMetadata
public Map
Gets the metadata to associate with the blob.
Returns:
getParallelTransferOptions
public ParallelTransferOptions getParallelTransferOptions()
Gets the ParallelTransferOptions.
Returns:
getRequestConditions
getTags
public Map
Gets the tags to associate with the blob.
Returns:
getTier
setHeaders
public BlobUploadFromFileOptions setHeaders(BlobHttpHeaders headers)
Sets the BlobHttpHeaders.
Parameters:
Returns:
AppendBlobCreateOptions
setMetadata
public BlobUploadFromFileOptions setMetadata(Map
Sets the metadata to associate with the blob.
Parameters:
Returns:
setParallelTransferOptions
public BlobUploadFromFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Sets the ParallelTransferOptions.
Parameters:
Returns:
setRequestConditions
public BlobUploadFromFileOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns:
setTags
public BlobUploadFromFileOptions setTags(Map
Sets the tags to associate with the blob.
Parameters:
Returns:
setTier
public BlobUploadFromFileOptions setTier(AccessTier tier)
Sets the AccessTier.
Parameters:
Returns: