你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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()
Returns:
getHeaders
getMetadata
public Map
Returns:
getParallelTransferOptions
getRequestConditions
getTags
public Map
Returns:
getTier
setHeaders
public BlobUploadFromFileOptions setHeaders(BlobHttpHeaders headers)
Parameters:
Returns:
AppendBlobCreateOptions
setMetadata
public BlobUploadFromFileOptions setMetadata(Map
Parameters:
Returns:
setParallelTransferOptions
public BlobUploadFromFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Parameters:
Returns:
setRequestConditions
public BlobUploadFromFileOptions setRequestConditions(BlobRequestConditions requestConditions)
Parameters:
Returns:
setTags
public BlobUploadFromFileOptions setTags(Map
Parameters:
Returns:
setTier
public BlobUploadFromFileOptions setTier(AccessTier tier)
Parameters:
Returns: