AppendBlobAppendBlockOptions Class
- java.
lang. Object - com.
azure. storage. blob. options. AppendBlobAppendBlockOptions
- com.
public final class AppendBlobAppendBlockOptions
Extended options that may be passed when appending a block to an append blob.
Constructor Summary
| Constructor | Description |
|---|---|
| AppendBlobAppendBlockOptions() |
Creates a new instance of AppendBlobAppendBlockOptions. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| byte[] |
getContentMd5()
Gets the MD5 hash of the block content. |
|
Content |
getContentValidationAlgorithm()
Gets the algorithm to use for transfer content validation. |
|
Append |
getRequestConditions()
Gets the AppendBlobRequestConditions. |
|
Append |
setContentMd5(byte[] contentMd5)
Sets the MD5 hash of the block content for transactional verification. |
|
Append |
setContentValidationAlgorithm(ContentValidationAlgorithm contentValidationAlgorithm)
Sets the algorithm to use for transfer content validation. |
|
Append |
setRequestConditions(AppendBlobRequestConditions requestConditions)
Sets the AppendBlobRequestConditions. |
Methods inherited from java.lang.Object
Constructor Details
AppendBlobAppendBlockOptions
public AppendBlobAppendBlockOptions()
Creates a new instance of AppendBlobAppendBlockOptions.
Method Details
getContentMd5
public byte[] getContentMd5()
Gets the MD5 hash of the block content.
Returns:
getContentValidationAlgorithm
public ContentValidationAlgorithm getContentValidationAlgorithm()
Gets the algorithm to use for transfer content validation. See ContentValidationAlgorithm for more details.
Returns:
getRequestConditions
public AppendBlobRequestConditions getRequestConditions()
Gets the AppendBlobRequestConditions.
Returns:
setContentMd5
public AppendBlobAppendBlockOptions setContentMd5(byte[] contentMd5)
Sets the MD5 hash of the block content for transactional verification.
Parameters:
Returns:
setContentValidationAlgorithm
public AppendBlobAppendBlockOptions setContentValidationAlgorithm(ContentValidationAlgorithm contentValidationAlgorithm)
Sets the algorithm to use for transfer content validation. See ContentValidationAlgorithm for more details.
Parameters:
Returns:
setRequestConditions
public AppendBlobAppendBlockOptions setRequestConditions(AppendBlobRequestConditions requestConditions)
Sets the AppendBlobRequestConditions.
Parameters:
Returns: