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