public final class PageBlobRequestConditions extends BlobRequestConditions
Please refer to the request header section here for more conceptual information.
Constructor and Description |
---|
PageBlobRequestConditions() |
Modifier and Type | Method and Description |
---|---|
Long |
getIfSequenceNumberEqualTo()
Gets the value that the page blob's sequence number must be equal to.
|
Long |
getIfSequenceNumberLessThan()
Gets the value that the page blob's sequence number must be less than.
|
Long |
getIfSequenceNumberLessThanOrEqualTo()
Gets the value that the page blob's sequence number must be less than or equal to.
|
PageBlobRequestConditions |
setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.
|
PageBlobRequestConditions |
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed
datetime . |
PageBlobRequestConditions |
setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.
|
PageBlobRequestConditions |
setIfSequenceNumberEqualTo(Long ifSequenceNumberEqualTo)
Sets the value that the page blob's sequence number must be less equal to.
|
PageBlobRequestConditions |
setIfSequenceNumberLessThan(Long ifSequenceNumberLessThan)
Sets the value that the page blob's sequence number must be less than.
|
PageBlobRequestConditions |
setIfSequenceNumberLessThanOrEqualTo(Long ifSequenceNumberLessThanOrEqualTo)
Sets the value that the page blob's sequence number must be less than or equal to.
|
PageBlobRequestConditions |
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed
datetime . |
PageBlobRequestConditions |
setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID.
|
getLeaseId
getIfModifiedSince, getIfUnmodifiedSince
getIfMatch, getIfNoneMatch
public PageBlobRequestConditions setIfMatch(String ifMatch)
setIfMatch
in class BlobRequestConditions
ifMatch
- ETag that resources must match.public PageBlobRequestConditions setIfNoneMatch(String ifNoneMatch)
setIfNoneMatch
in class BlobRequestConditions
ifNoneMatch
- ETag that resources must not match.public PageBlobRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
datetime
.setIfModifiedSince
in class BlobRequestConditions
ifModifiedSince
- The datetime that resources must have been modified since.public PageBlobRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
datetime
.setIfUnmodifiedSince
in class BlobRequestConditions
ifUnmodifiedSince
- The datetime that resources must have remained unmodified since.public PageBlobRequestConditions setLeaseId(String leaseId)
setLeaseId
in class BlobRequestConditions
leaseId
- Lease ID that blobs and containers must match.public Long getIfSequenceNumberLessThanOrEqualTo()
public PageBlobRequestConditions setIfSequenceNumberLessThanOrEqualTo(Long ifSequenceNumberLessThanOrEqualTo)
ifSequenceNumberLessThanOrEqualTo
- The value the sequence number must be less than or equal to.public Long getIfSequenceNumberLessThan()
public PageBlobRequestConditions setIfSequenceNumberLessThan(Long ifSequenceNumberLessThan)
ifSequenceNumberLessThan
- The value the sequence number must be less than.public Long getIfSequenceNumberEqualTo()
public PageBlobRequestConditions setIfSequenceNumberEqualTo(Long ifSequenceNumberEqualTo)
ifSequenceNumberEqualTo
- The value the sequence number must be equal to.Copyright © 2019 Microsoft Corporation. All rights reserved.