A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/java/api/com.azure.storage.blob.options.blobuploadfromfileoptions below:

BlobUploadFromFileOptions Class | Microsoft Learn

BlobUploadFromFileOptions Class

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 BlobUploadFromFileOptions

public BlobUploadFromFileOptions(String filePath)

Constructs a BlobUploadFromFileOptions.

Parameters:

filePath - Path of the file to upload.

Method Details getFilePath

public String getFilePath()

Gets the path of the file to upload.

Returns:

The path of the file to upload

getMetadata

public Map<String,String> getMetadata()

Gets the metadata to associate with the blob.

Returns:

The metadata to associate with the blob.

getParallelTransferOptions getTags

public Map<String,String> getTags()

Gets the tags to associate with the blob.

Returns:

The tags to associate with the blob.

getTier

public AccessTier getTier()

Gets the AccessTier.

Returns:

setHeaders

public BlobUploadFromFileOptions setHeaders(BlobHttpHeaders headers)

Sets the BlobHttpHeaders.

Parameters:

Returns:

The updated AppendBlobCreateOptions

setMetadata

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

setParallelTransferOptions

public BlobUploadFromFileOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)

Sets the ParallelTransferOptions.

Parameters:

Returns:

The updated options.

setRequestConditions

public BlobUploadFromFileOptions setRequestConditions(BlobRequestConditions requestConditions)

Sets the BlobRequestConditions.

Parameters:

Returns:

The updated options.

setTags

public 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.

setTier

public BlobUploadFromFileOptions setTier(AccessTier tier)

Sets the AccessTier.

Parameters:

Returns:

The updated options.

Applies to

Collaborate 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 article

Was 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