AppendBlobRequestConditions Class
- java.
lang. Object - com.
azure. core. http. MatchConditions - com.
azure. core. http. RequestConditions - com.
azure. storage. blob. models. BlobLeaseRequestConditions - com.
azure. storage. blob. models. BlobRequestConditions - com.
azure. storage. blob. models. AppendBlobRequestConditions
- com.
- com.
- com.
- com.
- com.
public final class AppendBlobRequestConditions
extends BlobRequestConditions
This class contains values that restrict the successful completion of AppendBlock operations to certain conditions. Any field may be set to null if no access conditions are desired.
Please refer to the request header section here for more conceptual information.
Constructor Summary
Constructor | Description | |
---|---|---|
AppendBlobRequestConditions() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
getAppendPosition()
Gets the byte offset that the append position of the append blob must match. |
Long |
getMaxSize()
Gets the max length in bytes allowed for the append blob. |
Append |
setAppendPosition(Long appendPosition)
Sets the byte offset that the append position of the append blob must match. |
Append |
setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag. |
Append |
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime. |
Append |
setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag. |
Append |
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime. |
Append |
setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID. |
Append |
setMaxSize(Long maxSize)
Sets the max length in bytes allowed for the append blob. |
Append |
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 BlobLeaseRequestConditions
Methods inherited from BlobRequestConditions
Methods inherited from java.lang.Object
Constructor Details
AppendBlobRequestConditions
public AppendBlobRequestConditions()
Method Details
getAppendPosition
public Long getAppendPosition()
Gets the byte offset that the append position of the append blob must match.
Returns:
getMaxSize
public Long getMaxSize()
Gets the max length in bytes allowed for the append blob.
If the operation would cause the append blob to grow larger than the limit the request will fail.
Returns:
setAppendPosition
public AppendBlobRequestConditions setAppendPosition(Long appendPosition)
Sets the byte offset that the append position of the append blob must match.
Parameters:
Returns:
setIfMatch
public AppendBlobRequestConditions setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.
Overrides:
AppendBlobRequestConditions.setIfMatch(String ifMatch)Parameters:
Returns:
setIfModifiedSince
public AppendBlobRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passed datetime.
Overrides:
AppendBlobRequestConditions.setIfModifiedSince(OffsetDateTime ifModifiedSince)Parameters:
Returns:
setIfNoneMatch
public AppendBlobRequestConditions setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.
Overrides:
AppendBlobRequestConditions.setIfNoneMatch(String ifNoneMatch)Parameters:
Returns:
setIfUnmodifiedSince
public AppendBlobRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passed datetime.
Overrides:
AppendBlobRequestConditions.setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)Parameters:
Returns:
setLeaseId
public AppendBlobRequestConditions setLeaseId(String leaseId)
Optionally limits requests to blobs and containers that match the lease ID.
Overrides:
AppendBlobRequestConditions.setLeaseId(String leaseId)Parameters:
Returns:
setMaxSize
public AppendBlobRequestConditions setMaxSize(Long maxSize)
Sets the max length in bytes allowed for the append blob.
If the operation would cause the append blob to grow larger than the limit the request will fail.
Parameters:
Returns:
setTagsConditions
public AppendBlobRequestConditions setTagsConditions(String tagsConditions)
Optionally applies the SQL statement to the tags of the blob.
Overrides:
AppendBlobRequestConditions.setTagsConditions(String tagsConditions)Parameters:
Returns: