Package com.azure.storage.blob.options
Class BlobSetAccessTierOptions
java.lang.Object
com.azure.storage.blob.options.BlobSetAccessTierOptions
Extended options that may be passed when setting tier for a blob.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the lease ID the active lease on the blob must match.Gets the priority to set for re-hydrating blobs.Gets the SQL statement that apply to the tags of the blob.getTier()
Gets the new tier for the blob.setLeaseId
(String leaseId) Sets the lease ID the active lease on the blob must match.setPriority
(RehydratePriority priority) Sets the priority to set for re-hydrating blobs.setTagsConditions
(String tagsConditions) Sets the SQL statement that apply to the tags of the blob.
-
Constructor Details
-
BlobSetAccessTierOptions
Creates a new instance ofBlobSetAccessTierOptions
.- Parameters:
tier
- The new tier for the blob.- Throws:
NullPointerException
- Iftier
is null.
-
-
Method Details
-
getTier
Gets the new tier for the blob.- Returns:
- The new tier for the blob.
-
getPriority
Gets the priority to set for re-hydrating blobs.- Returns:
- Priority to set for re-hydrating blobs.
-
setPriority
Sets the priority to set for re-hydrating blobs.- Parameters:
priority
- Priority to set for re-hydrating blobs.- Returns:
- The updated BlobSetAccessTierOptions.
-
getLeaseId
Gets the lease ID the active lease on the blob must match.- Returns:
- The lease ID the active lease on the blob must match.
-
setLeaseId
Sets the lease ID the active lease on the blob must match.- Parameters:
leaseId
- The lease ID the active lease on the blob must match.- Returns:
- The updated BlobSetAccessTierOptions.
-
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
Sets the SQL statement that apply to the tags of the blob.- Parameters:
tagsConditions
- The SQL statement that apply to the tags of the blob.- Returns:
- The updated BlobSetAccessTierOptions.
-