Package com.azure.storage.blob.models
Class BlobBeginCopySourceRequestConditions
- java.lang.Object
-
- com.azure.core.http.MatchConditions
-
- com.azure.core.http.RequestConditions
-
- com.azure.storage.blob.models.BlobBeginCopySourceRequestConditions
-
public class BlobBeginCopySourceRequestConditions extends com.azure.core.http.RequestConditions
This class contains values which will restrict the successful operation of a variety of blob requests to the conditions present on the source blob. 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
Constructors Constructor Description BlobBeginCopySourceRequestConditions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTagsConditions()
Gets the SQL statement that apply to the tags of the blob.BlobBeginCopySourceRequestConditions
setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.BlobBeginCopySourceRequestConditions
setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passeddatetime
.BlobBeginCopySourceRequestConditions
setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.BlobBeginCopySourceRequestConditions
setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passeddatetime
.BlobBeginCopySourceRequestConditions
setTagsConditions(String tagsConditions)
Optionally applies the SQL statement to the tags of the blob.
-
-
-
Method Detail
-
setIfMatch
public BlobBeginCopySourceRequestConditions setIfMatch(String ifMatch)
Optionally limit requests to resources that match the passed ETag.- Overrides:
setIfMatch
in classcom.azure.core.http.RequestConditions
- Parameters:
ifMatch
- ETag that resources must match.- Returns:
- The updated BlobSourceRequestConditions object.
-
setIfNoneMatch
public BlobBeginCopySourceRequestConditions setIfNoneMatch(String ifNoneMatch)
Optionally limit requests to resources that do not match the passed ETag.- Overrides:
setIfNoneMatch
in classcom.azure.core.http.RequestConditions
- Parameters:
ifNoneMatch
- ETag that resources must not match.- Returns:
- The updated BlobSourceRequestConditions object.
-
setIfModifiedSince
public BlobBeginCopySourceRequestConditions setIfModifiedSince(OffsetDateTime ifModifiedSince)
Optionally limit requests to resources that have only been modified since the passeddatetime
.- Overrides:
setIfModifiedSince
in classcom.azure.core.http.RequestConditions
- Parameters:
ifModifiedSince
- The datetime that resources must have been modified since.- Returns:
- The updated BlobSourceRequestConditions object.
-
setIfUnmodifiedSince
public BlobBeginCopySourceRequestConditions setIfUnmodifiedSince(OffsetDateTime ifUnmodifiedSince)
Optionally limit requests to resources that have remained unmodified since the passeddatetime
.- Overrides:
setIfUnmodifiedSince
in classcom.azure.core.http.RequestConditions
- Parameters:
ifUnmodifiedSince
- The datetime that resources must have remained unmodified since.- Returns:
- The updated BlobSourceRequestConditions object.
-
getTagsConditions
public String getTagsConditions()
Gets the SQL statement that apply to the tags of the blob.- Returns:
- The SQL statement that apply to the tags of the blob.
-
setTagsConditions
public BlobBeginCopySourceRequestConditions setTagsConditions(String tagsConditions)
Optionally applies the SQL statement to the tags of the blob.- Parameters:
tagsConditions
- The SQL statement that apply to the tags of the blob.- Returns:
- The updated BlobSourceRequestConditions object.
-
-