Package com.azure.storage.blob.options
Class BlobUploadFromFileOptions
java.lang.Object
com.azure.storage.blob.options.BlobUploadFromFileOptions
Extended options that may be passed when uploading a blob from a file.
-
Constructor Summary
ConstructorDescriptionBlobUploadFromFileOptions
(String filePath) Constructs aBlobUploadFromFileOptions
. -
Method Summary
Modifier and TypeMethodDescriptiongetTags()
getTier()
setHeaders
(BlobHttpHeaders headers) setMetadata
(Map<String, String> metadata) setParallelTransferOptions
(ParallelTransferOptions parallelTransferOptions) setRequestConditions
(BlobRequestConditions requestConditions) setTier
(AccessTier tier)
-
Constructor Details
-
BlobUploadFromFileOptions
Constructs aBlobUploadFromFileOptions
.- Parameters:
filePath
- Path of the file to upload.
-
-
Method Details
-
getFilePath
- Returns:
- The path of the file to upload
-
getParallelTransferOptions
- Returns:
ParallelTransferOptions
-
setParallelTransferOptions
public BlobUploadFromFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions) - Parameters:
parallelTransferOptions
-ParallelTransferOptions
- Returns:
- The updated options.
-
getHeaders
- Returns:
BlobHttpHeaders
-
setHeaders
- Parameters:
headers
-BlobHttpHeaders
- Returns:
- The updated
AppendBlobCreateOptions
-
getMetadata
- Returns:
- The metadata to associate with the blob.
-
setMetadata
- Parameters:
metadata
- The metadata to associate with the blob.- Returns:
- The updated options
-
getTags
- Returns:
- The tags to associate with the blob.
-
setTags
- Parameters:
tags
- The tags to associate with the blob.- Returns:
- The updated options.
-
getTier
- Returns:
AccessTier
-
setTier
- Parameters:
tier
-AccessTier
- Returns:
- The updated options.
-
getRequestConditions
- Returns:
BlobRequestConditions
-
setRequestConditions
- Parameters:
requestConditions
-BlobRequestConditions
- Returns:
- The updated options.
-