你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BlobParallelUploadOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. BlobParallelUploadOptions
- com.
public class BlobParallelUploadOptions
Extended options that may be passed when uploading a Block Blob in parallel.
Constructor Summary
Constructor | Description |
---|---|
BlobParallelUploadOptions(BinaryData data) |
Constructs a new |
BlobParallelUploadOptions(InputStream dataStream) |
Constructs a new BlobParallelUploadOptions. |
BlobParallelUploadOptions(InputStream dataStream, long length) |
Deprecated
length is no longer necessary; use BlobParallelUploadOptions(InputStream dataStream) instead.
Constructs a new BlobParallelUploadOptions. |
BlobParallelUploadOptions(Flux<ByteBuffer> dataFlux) |
Constructs a new BlobParallelUploadOptions. |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
BlobParallelUploadOptions
public BlobParallelUploadOptions(BinaryData data)
Constructs a new BlobParallelUploadOptions
.
Parameters:
BlobParallelUploadOptions
public BlobParallelUploadOptions(InputStream dataStream)
Constructs a new BlobParallelUploadOptions. Note: the InputStream must be closed by the caller.
Parameters:
BlobParallelUploadOptions
@Deprecated
public BlobParallelUploadOptions(InputStream dataStream, long length)
Deprecated
Constructs a new BlobParallelUploadOptions. Use BlobParallelUploadOptions(InputStream dataStream) instead to supply an InputStream without knowing the exact length beforehand.
Parameters:
BlobParallelUploadOptions
public BlobParallelUploadOptions(Flux
Constructs a new BlobParallelUploadOptions.
Parameters:
Flux
be replayable. In other words, it does not have to support multiple subscribers and is not
expected to produce the same values across subscriptions.
Method Details
getDataFlux
public Flux
Gets the data source.
Returns:
getDataStream
public InputStream getDataStream()
Gets the data source.
Returns:
getHeaders
getImmutabilityPolicy
getLength
@Deprecated
public long getLength()
Deprecated
Gets the length of the data.
Returns:
getMetadata
public Map
Gets the metadata.
Returns:
getOptionalLength
public Long getOptionalLength()
Gets the length of the data.
Returns:
getParallelTransferOptions
public ParallelTransferOptions getParallelTransferOptions()
Gets the ParallelTransferOptions.
Returns:
getRequestConditions
getTags
public Map
Get the tags.
Returns:
getTier
getTimeout
@Deprecated
public Duration getTimeout()
Deprecated
Gets the timeout.
Returns:
isComputeMd5
public boolean isComputeMd5()
Returns:
isLegalHold
public Boolean isLegalHold()
Returns:
setComputeMd5
public BlobParallelUploadOptions setComputeMd5(boolean computeMd5)
Sets the computeMd5 property.
Parameters:
Returns:
setHeaders
public BlobParallelUploadOptions setHeaders(BlobHttpHeaders headers)
Sets the BlobHttpHeaders.
Parameters:
Returns:
setImmutabilityPolicy
public BlobParallelUploadOptions setImmutabilityPolicy(BlobImmutabilityPolicy immutabilityPolicy)
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setLegalHold
public BlobParallelUploadOptions setLegalHold(Boolean legalHold)
Note that this parameter is only applicable to a blob within a container that has immutable storage with versioning enabled.
Parameters:
Returns:
setMetadata
public BlobParallelUploadOptions setMetadata(Map
Sets the metadata.
Parameters:
Returns:
setParallelTransferOptions
public BlobParallelUploadOptions setParallelTransferOptions(ParallelTransferOptions parallelTransferOptions)
Sets the ParallelTransferOptions.
Parameters:
Returns:
setRequestConditions
public BlobParallelUploadOptions setRequestConditions(BlobRequestConditions requestConditions)
Sets the BlobRequestConditions.
Parameters:
Returns:
setTags
public BlobParallelUploadOptions setTags(Map
Set the tags.
Parameters:
Returns:
setTier
public BlobParallelUploadOptions setTier(AccessTier tier)
Sets the AccessTier.
Parameters:
Returns:
setTimeout
@Deprecated
public BlobParallelUploadOptions setTimeout(Duration timeout)
Deprecated
Sets the timeout.
Parameters:
Returns: