public class BlobRequestConditions extends 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.
|
getIfModifiedSince, getIfUnmodifiedSince
getIfMatch, getIfNoneMatch
public BlobRequestConditions setIfMatch(String ifMatch)
setIfMatch
in class RequestConditions
ifMatch
- ETag that resources must match.public BlobRequestConditions setIfNoneMatch(String ifNoneMatch)
setIfNoneMatch
in class RequestConditions
ifNoneMatch
- ETag that resources must not match.public BlobRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
datetime
.setIfModifiedSince
in class RequestConditions
ifModifiedSince
- The datetime that resources must have been modified since.public BlobRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
datetime
.setIfUnmodifiedSince
in class RequestConditions
ifUnmodifiedSince
- 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 © 2019 Microsoft Corporation. All rights reserved.