PageBlobAccessConditions Class

Definition

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.

public class PageBlobAccessConditions
Inheritance
java.lang.Object
PageBlobAccessConditions

Constructors

PageBlobAccessConditions()

Creates an instance which has fields set to non-null, empty values.

Methods

leaseAccessConditions()

By setting lease access conditions, requests will fail if the provided lease does not match the active lease on the blob.

modifiedAccessConditions()

Standard HTTP Access conditions related to the modification of data. ETag and LastModifiedTime are used to construct conditions related to when the blob was changed relative to the given request. The request will fail if the specified condition is not satisfied.

sequenceNumberAccessConditions()

Access conditions that will fail the request if the sequence number does not meet the provided condition.

withLeaseAccessConditions(LeaseAccessConditions leaseAccessConditions)

By setting lease access conditions, requests will fail if the provided lease does not match the active lease on the blob.

withModifiedAccessConditions(ModifiedAccessConditions modifiedAccessConditions)

Standard HTTP Access conditions related to the modification of data. ETag and LastModifiedTime are used to construct conditions related to when the blob was changed relative to the given request. The request will fail if the specified condition is not satisfied.

withSequenceNumberAccessConditions(SequenceNumberAccessConditions sequenceNumberAccessConditions)

Access conditions that will fail the request if the sequence number does not meet the provided condition.

Applies to