DataLakeRequestConditions Class
- java.
lang. Object - com.
azure. core. http. MatchConditions - com.
azure. core. http. RequestConditions - com.
azure. storage. file. datalake. models. DataLakeRequestConditions
- com.
- com.
- com.
public class DataLakeRequestConditions
extends RequestConditions
This class contains values which will restrict the successful operation of a variety of 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 | |
---|---|---|
DataLakeRequestConditions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getLeaseId()
Gets the lease ID that blobs and containers must match. |
Data |
setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag. |
Data |
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime. |
Data |
setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag. |
Data |
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime. |
Data |
setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID. |
Methods inherited from MatchConditions
Methods inherited from RequestConditions
Methods inherited from java.lang.Object
Constructor Details
DataLakeRequestConditions
public DataLakeRequestConditions()
Method Details
getLeaseId
public String getLeaseId()
Gets the lease ID that blobs and containers must match.
Returns:
setIfMatch
public DataLakeRequestConditions setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.
Overrides:
DataLakeRequestConditions.setIfMatch(String ifMatch)Parameters:
Returns:
setIfModifiedSince
public DataLakeRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime.
Overrides:
DataLakeRequestConditions.setIfModifiedSince(OffsetDateTime ifModifiedSince)Parameters:
Returns:
setIfNoneMatch
public DataLakeRequestConditions setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.
Overrides:
DataLakeRequestConditions.setIfNoneMatch(String ifNoneMatch)Parameters:
Returns:
setIfUnmodifiedSince
public DataLakeRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime.
Overrides:
DataLakeRequestConditions.setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)Parameters:
Returns:
setLeaseId
public DataLakeRequestConditions setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID.
Parameters:
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기