BlobLeaseRequestConditions Class
- java.
lang. Object - com.
azure. core. http. MatchConditions - com.
azure. core. http. RequestConditions - com.
azure. storage. blob. models. BlobLeaseRequestConditions
- com.
- com.
- com.
public class BlobLeaseRequestConditions
extends RequestConditions
This class contains values which will restrict the successful operation of a variety of lease requests to the conditions present. These conditions are entirely optional. The entire object or any of its properties may be set to null when passed to a method to indicate that those conditions are not desired. Please refer to the type of each field for more information on those particular access conditions.
Constructor Summary
Constructor | Description | |
---|---|---|
BlobLeaseRequestConditions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getTagsConditions()
Gets the SQL statement that apply to the tags of the blob. |
Blob |
setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag. |
Blob |
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime. |
Blob |
setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag. |
Blob |
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime. |
Blob |
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 java.lang.Object
Constructor Details
BlobLeaseRequestConditions
public BlobLeaseRequestConditions()
Method Details
getTagsConditions
public String getTagsConditions()
Gets the SQL statement that apply to the tags of the blob.
Returns:
setIfMatch
public BlobLeaseRequestConditions setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.
Overrides:
BlobLeaseRequestConditions.setIfMatch(String ifMatch)Parameters:
Returns:
setIfModifiedSince
public BlobLeaseRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime.
Overrides:
BlobLeaseRequestConditions.setIfModifiedSince(OffsetDateTime ifModifiedSince)Parameters:
Returns:
setIfNoneMatch
public BlobLeaseRequestConditions setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.
Overrides:
BlobLeaseRequestConditions.setIfNoneMatch(String ifNoneMatch)Parameters:
Returns:
setIfUnmodifiedSince
public BlobLeaseRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime.
Overrides:
BlobLeaseRequestConditions.setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)Parameters:
Returns:
setTagsConditions
public BlobLeaseRequestConditions setTagsConditions(String tagsConditions)
Optionally applies the SQL statement to the tags of the blob.
Parameters:
Returns:
Applies to
Azure SDK for Java