public class BlobUploadFromFileOptions
Extended options that may be passed when uploading a blob from a file.
Constructor Summary Method Summary Methods inherited from java.lang.Object Constructor Details BlobUploadFromFileOptionspublic BlobUploadFromFileOptions(String filePath)
Constructs a BlobUploadFromFileOptions.
Parameters:
filePath - Path of the file to upload.
Method Details getFilePathpublic String getFilePath()
Gets the path of the file to upload.
Returns:
The path of the file to upload
getMetadatapublic Map<String,String> getMetadata()
Gets the metadata to associate with the blob.
Returns:
The metadata to associate with the blob.
getParallelTransferOptions getTagspublic Map<String,String> getTags()
Gets the tags to associate with the blob.
Returns:
The tags to associate with the blob.
getTierpublic AccessTier getTier()
Gets the AccessTier.
Returns:
setHeaderspublic BlobUploadFromFileOptions setHeaders(BlobHttpHeaders headers)
Sets the BlobHttpHeaders.
Parameters:
Returns:
The updated AppendBlobCreateOptions
public BlobUploadFromFileOptions setMetadata(Map<String,String> metadata)
Sets the metadata to associate with the blob.
Parameters:
metadata - The metadata to associate with the blob.
Returns:
The updated options
setParallelTransferOptionspublic BlobUploadFromFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Sets the ParallelTransferOptions.
Parameters:
Returns:
The updated options.
setRequestConditionspublic BlobUploadFromFileOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns:
The updated options.
setTagspublic BlobUploadFromFileOptions setTags(Map<String,String> tags)
Sets the tags to associate with the blob.
Parameters:
tags - The tags to associate with the blob.
Returns:
The updated options.
setTierpublic BlobUploadFromFileOptions setTier(AccessTier tier)
Sets the AccessTier.
Parameters:
Returns:
The updated options.
Applies toCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4