public class TransferManagerUploadToBlockBlobOptions extends Object
TransferManager
.Modifier and Type | Field and Description |
---|---|
static TransferManagerUploadToBlockBlobOptions |
DEFAULT
An object which represents the default parallel upload options.
|
Constructor and Description |
---|
TransferManagerUploadToBlockBlobOptions(IProgressReceiver progressReceiver,
BlobHTTPHeaders httpHeaders,
Metadata metadata,
BlobAccessConditions accessConditions,
Integer parallelism)
Creates a new object that configures the parallel upload behavior.
|
Modifier and Type | Method and Description |
---|---|
BlobAccessConditions |
accessConditions() |
BlobHTTPHeaders |
httpHeaders() |
Metadata |
metadata() |
int |
parallelism() |
IProgressReceiver |
progressReceiver() |
public static final TransferManagerUploadToBlockBlobOptions DEFAULT
public TransferManagerUploadToBlockBlobOptions(IProgressReceiver progressReceiver, BlobHTTPHeaders httpHeaders, Metadata metadata, BlobAccessConditions accessConditions, Integer parallelism)
progressReceiver
- An object that implements the IProgressReceiver
interface which will be invoked periodically
as bytes are sent in a PutBlock call to the BlockBlobURL. May be null if no progress reports are
desired.httpHeaders
- Most often used when creating a blob or setting its properties, this class contains fields for typical HTTP
properties, which, if specified, will be attached to the target blob. Null may be passed to any API which takes this
type to indicate that no properties should be set.metadata
- Metadata
accessConditions
- BlobAccessConditions
parallelism
- A int
that indicates the maximum number of blocks to upload in parallel. Must be greater than
0. May be null to accept default behavior.public IProgressReceiver progressReceiver()
public BlobHTTPHeaders httpHeaders()
public Metadata metadata()
public BlobAccessConditions accessConditions()
public int parallelism()
This documentation was released into the public domain.