public final class PageBlobAccessConditions extends Object
BlobAccessConditions
when needed. It may also be set to null
if no access conditions are desired.
Please refer to the request header section
here for more conceptual information.Modifier and Type | Field and Description |
---|---|
static PageBlobAccessConditions |
NONE
An object representing no access conditions.
|
Constructor and Description |
---|
PageBlobAccessConditions(Long ifSequenceNumberLessThan,
Long ifSequenceNumberLessThanOrEqual,
Long ifSequenceNumberEqual)
Creates a set of conditions under which a request to a PageBlob will succeed.
|
Modifier and Type | Method and Description |
---|---|
Long |
getIfSequenceNumberEqual() |
Long |
getIfSequenceNumberLessThan() |
Long |
getIfSequenceNumberLessThanOrEqual() |
public static final PageBlobAccessConditions NONE
public PageBlobAccessConditions(Long ifSequenceNumberLessThan, Long ifSequenceNumberLessThanOrEqual, Long ifSequenceNumberEqual)
ifSequenceNumberLessThan
- Ensures that the page blob operation succeeds only if the blob's sequence number is less than a value.ifSequenceNumberLessThanOrEqual
- Ensures that the page blob operation succeeds only if the blob's sequence number is less than or equal to a
value.ifSequenceNumberEqual
- Ensures that the page blob operation succeeds only if the blob's sequence number is equal to a value.Copyright © 2018. All rights reserved.