PageBlobRequestConditions Class
- java.
lang. Object - com.
azure. core. http. MatchConditions - com.
azure. core. http. RequestConditions - com.
azure. storage. blob. models. BlobLeaseRequestConditions - com.
azure. storage. blob. models. BlobRequestConditions - com.
azure. storage. blob. models. PageBlobRequestConditions
- com.
- com.
- com.
- com.
- com.
public final class PageBlobRequestConditions
extends BlobRequestConditions
This class contains values that restrict the successful completion of PageBlob operations to certain conditions. It may be set to null if no access conditions are desired.
Please refer to the request header section here for more conceptual information.
Constructor Summary
Constructor | Description | |
---|---|---|
PageBlobRequestConditions() |
Method Summary
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. |
Page |
setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag. |
Page |
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime. |
Page |
setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag. |
Page |
setIfSequenceNumberEqualTo(Long ifSequenceNumberEqualTo)
Sets the value that the page blob's sequence number must be less equal to. |
Page |
setIfSequenceNumberLessThan(Long ifSequenceNumberLessThan)
Sets the value that the page blob's sequence number must be less than. |
Page |
setIfSequenceNumberLessThanOrEqualTo(Long ifSequenceNumberLessThanOrEqualTo)
Sets the value that the page blob's sequence number must be less than or equal to. |
Page |
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime. |
Page |
setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID. |
Page |
setTagsConditions(String tagsConditions)
Optionally applies the SQL statement to the tags of the blob. |
Methods inherited from MatchConditions
Methods inherited from RequestConditions
Methods inherited from BlobLeaseRequestConditions
Methods inherited from BlobRequestConditions
Methods inherited from java.lang.Object
Constructor Details
PageBlobRequestConditions
public PageBlobRequestConditions()
Method Details
getIfSequenceNumberEqualTo
public Long getIfSequenceNumberEqualTo()
Gets the value that the page blob's sequence number must be equal to.
Returns:
getIfSequenceNumberLessThan
public Long getIfSequenceNumberLessThan()
Gets the value that the page blob's sequence number must be less than.
Returns:
getIfSequenceNumberLessThanOrEqualTo
public Long getIfSequenceNumberLessThanOrEqualTo()
Gets the value that the page blob's sequence number must be less than or equal to.
Returns:
setIfMatch
public PageBlobRequestConditions setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.
Overrides:
PageBlobRequestConditions.setIfMatch(String ifMatch)Parameters:
Returns:
setIfModifiedSince
public PageBlobRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime.
Overrides:
PageBlobRequestConditions.setIfModifiedSince(OffsetDateTime ifModifiedSince)Parameters:
Returns:
setIfNoneMatch
public PageBlobRequestConditions setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.
Overrides:
PageBlobRequestConditions.setIfNoneMatch(String ifNoneMatch)Parameters:
Returns:
setIfSequenceNumberEqualTo
public PageBlobRequestConditions setIfSequenceNumberEqualTo(Long ifSequenceNumberEqualTo)
Sets the value that the page blob's sequence number must be less equal to.
Parameters:
Returns:
setIfSequenceNumberLessThan
public PageBlobRequestConditions setIfSequenceNumberLessThan(Long ifSequenceNumberLessThan)
Sets the value that the page blob's sequence number must be less than.
Parameters:
Returns:
setIfSequenceNumberLessThanOrEqualTo
public PageBlobRequestConditions setIfSequenceNumberLessThanOrEqualTo(Long ifSequenceNumberLessThanOrEqualTo)
Sets the value that the page blob's sequence number must be less than or equal to.
Parameters:
Returns:
setIfUnmodifiedSince
public PageBlobRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime.
Overrides:
PageBlobRequestConditions.setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)Parameters:
Returns:
setLeaseId
public PageBlobRequestConditions setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID.
Overrides:
PageBlobRequestConditions.setLeaseId(String leaseId)Parameters:
Returns:
setTagsConditions
public PageBlobRequestConditions setTagsConditions(String tagsConditions)
Optionally applies the SQL statement to the tags of the blob.
Overrides:
PageBlobRequestConditions.setTagsConditions(String tagsConditions)Parameters:
Returns:
Applies to
Azure SDK for Java