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 Details

    • 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 - AccessTier to 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 - AccessTier to set on each blob.
  • Method Details

    • 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

      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.