Class BlobBatchSetBlobAccessTierOptions
- java.lang.Object
-
- com.azure.storage.blob.batch.options.BlobBatchSetBlobAccessTierOptions
-
public class BlobBatchSetBlobAccessTierOptions extends Object
Extended options that may be passed when batch setting tier for blobs.
-
-
Constructor Summary
Constructors Constructor Description BlobBatchSetBlobAccessTierOptions(String blobUrl, AccessTier tier)BlobBatchSetBlobAccessTierOptions(String containerName, String blobName, AccessTier tier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBlobContainerName()StringgetBlobIdentifier()StringgetBlobName()StringgetBlobUrl()StringgetLeaseId()RehydratePrioritygetPriority()StringgetSnapshot()StringgetTagsConditions()AccessTiergetTier()StringgetVersionId()BlobBatchSetBlobAccessTierOptionssetLeaseId(String leaseId)BlobBatchSetBlobAccessTierOptionssetPriority(RehydratePriority priority)BlobBatchSetBlobAccessTierOptionssetSnapshot(String snapshot)BlobBatchSetBlobAccessTierOptionssetTagsConditions(String tagsConditions)BlobBatchSetBlobAccessTierOptionssetVersionId(String versionId)
-
-
-
Constructor Detail
-
BlobBatchSetBlobAccessTierOptions
public BlobBatchSetBlobAccessTierOptions(String blobUrl, AccessTier tier)
- Parameters:
blobUrl- Url of the blob to set access tier. Blob names must be encoded to UTF-8.tier-AccessTierto set on each blob.
-
BlobBatchSetBlobAccessTierOptions
public BlobBatchSetBlobAccessTierOptions(String containerName, String blobName, AccessTier tier)
- 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-AccessTierto set on each blob.
-
-
Method Detail
-
getBlobUrl
public String getBlobUrl()
- Returns:
- Url of the blob to set its access tier.
-
getBlobContainerName
public String getBlobContainerName()
- Returns:
- Container of the blob to set its access tier.
-
getBlobName
public String getBlobName()
- Returns:
- Name of the blob to set its access tier.
-
getBlobIdentifier
public String getBlobIdentifier()
- Returns:
- Identifier of the blob to set its access tier.
-
getVersionId
public String getVersionId()
- Returns:
- Version id of the blob to set its access tier.
-
setVersionId
public BlobBatchSetBlobAccessTierOptions setVersionId(String versionId)
- Parameters:
versionId- Version id of the blob to set its access tier.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getSnapshot
public String getSnapshot()
- Returns:
- Snapshot of the blob to set its access tier.
-
setSnapshot
public BlobBatchSetBlobAccessTierOptions setSnapshot(String snapshot)
- Parameters:
snapshot- Snapshot of the blob to set its access tier.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getTier
public AccessTier getTier()
- Returns:
- The new tier for the blob.
-
getPriority
public RehydratePriority getPriority()
- Returns:
- Priority to set for re-hydrating blob.
-
setPriority
public BlobBatchSetBlobAccessTierOptions setPriority(RehydratePriority priority)
- Parameters:
priority- Priority to set for re-hydrating blob.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getLeaseId
public String getLeaseId()
- Returns:
- The lease ID the active lease on the blob must match.
-
setLeaseId
public BlobBatchSetBlobAccessTierOptions setLeaseId(String leaseId)
- Parameters:
leaseId- The lease ID the active lease on the blobs must match.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getTagsConditions
public String getTagsConditions()
- Returns:
- The SQL statement that apply to the tags of the blob.
-
setTagsConditions
public BlobBatchSetBlobAccessTierOptions setTagsConditions(String tagsConditions)
- Parameters:
tagsConditions- The SQL statement that apply to the tags of the blob.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
-