public class BlobRequestConditions
extends com.azure.core.http.RequestConditions
| Constructor and Description |
|---|
BlobRequestConditions() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLeaseId()
Gets the lease ID that blobs and containers must match.
|
BlobRequestConditions |
setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.
|
BlobRequestConditions |
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed
datetime. |
BlobRequestConditions |
setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.
|
BlobRequestConditions |
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed
datetime. |
BlobRequestConditions |
setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID.
|
public BlobRequestConditions setIfMatch(String ifMatch)
setIfMatch in class com.azure.core.http.RequestConditionsifMatch - ETag that resources must match.public BlobRequestConditions setIfNoneMatch(String ifNoneMatch)
setIfNoneMatch in class com.azure.core.http.RequestConditionsifNoneMatch - ETag that resources must not match.public BlobRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
datetime.setIfModifiedSince in class com.azure.core.http.RequestConditionsifModifiedSince - The datetime that resources must have been modified since.public BlobRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
datetime.setIfUnmodifiedSince in class com.azure.core.http.RequestConditionsifUnmodifiedSince - The datetime that resources must have remained unmodified since.public String getLeaseId()
public BlobRequestConditions setLeaseId(String leaseId)
leaseId - Lease ID that blobs and containers must match.Copyright © 2020 Microsoft Corporation. All rights reserved.