Class BlobBatchSetBlobAccessTierOptions
java.lang.Object
com.azure.storage.blob.batch.options.BlobBatchSetBlobAccessTierOptions
Extended options that may be passed when batch setting tier for blobs.
-
Constructor Summary
ConstructorDescriptionBlobBatchSetBlobAccessTierOptions
(String blobUrl, AccessTier tier) BlobBatchSetBlobAccessTierOptions
(String containerName, String blobName, AccessTier tier) -
Method Summary
Modifier and TypeMethodDescriptiongetTier()
setLeaseId
(String leaseId) setPriority
(RehydratePriority priority) setSnapshot
(String snapshot) setTagsConditions
(String tagsConditions) setVersionId
(String versionId)
-
Constructor Details
-
BlobBatchSetBlobAccessTierOptions
- Parameters:
blobUrl
- Url of the blob to set access tier. Blob names must be encoded to UTF-8.tier
-AccessTier
to set on each blob.
-
BlobBatchSetBlobAccessTierOptions
- Parameters:
containerName
- Name of the container to set access tier.blobName
- Name of the blob to set access tier. Blob names must be encoded to UTF-8.tier
-AccessTier
to set on each blob.
-
-
Method Details
-
getBlobUrl
- Returns:
- Url of the blob to set its access tier.
-
getBlobContainerName
- Returns:
- Container of the blob to set its access tier.
-
getBlobName
- Returns:
- Name of the blob to set its access tier.
-
getBlobIdentifier
- Returns:
- Identifier of the blob to set its access tier.
-
getVersionId
- Returns:
- Version id of the blob to set its access tier.
-
setVersionId
- Parameters:
versionId
- Version id of the blob to set its access tier.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getSnapshot
- Returns:
- Snapshot of the blob to set its access tier.
-
setSnapshot
- Parameters:
snapshot
- Snapshot of the blob to set its access tier.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getTier
- Returns:
- The new tier for the blob.
-
getPriority
- Returns:
- Priority to set for re-hydrating blob.
-
setPriority
- Parameters:
priority
- Priority to set for re-hydrating blob.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getLeaseId
- Returns:
- The lease ID the active lease on the blob must match.
-
setLeaseId
- Parameters:
leaseId
- The lease ID the active lease on the blobs must match.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getTagsConditions
- Returns:
- The SQL statement that apply to the tags of the blob.
-
setTagsConditions
- Parameters:
tagsConditions
- The SQL statement that apply to the tags of the blob.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-