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
ConstructorsConstructorDescriptionBlobBatchSetBlobAccessTierOptions(String blobUrl, AccessTier tier) Creates a new instance ofBlobBatchSetBlobAccessTierOptions.BlobBatchSetBlobAccessTierOptions(String containerName, String blobName, AccessTier tier) Creates a new instance ofBlobBatchSetBlobAccessTierOptions. -
Method Summary
Modifier and TypeMethodDescriptionGets the container name of the blob to set its access tier.Gets the identifier of the blob to set its access tier.Gets the name of the blob to set its access tier.Get the URL of the blob to set its access tier.Gets the lease ID the active lease on the blob must match.Gets the priority to set for re-hydrating blob.Gets the snapshot of the blob to set its access tier.Gets the SQL statement that apply to the tags of the blob.getTier()Gets the tier to set for the blob.Gets the version id of the blob to set its access tier.setLeaseId(String leaseId) Sets the lease ID the active lease on the blobs must match.setPriority(RehydratePriority priority) Sets the priority to set for re-hydrating blob.setSnapshot(String snapshot) Sets the snapshot of the blob to set its access tier.setTagsConditions(String tagsConditions) Sets the SQL statement that apply to the tags of the blob.setVersionId(String versionId) Sets the version id of the blob to set its access tier.
-
Constructor Details
-
BlobBatchSetBlobAccessTierOptions
Creates a new instance ofBlobBatchSetBlobAccessTierOptions.- Parameters:
blobUrl- Url of the blob to set access tier. Blob names must be encoded to UTF-8.tier-AccessTierto set on each blob.- Throws:
NullPointerException- IfblobUrlortieris null.
-
BlobBatchSetBlobAccessTierOptions
Creates a new instance ofBlobBatchSetBlobAccessTierOptions.- 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.- Throws:
NullPointerException- IfcontainerName,blobName, ortieris null.
-
-
Method Details
-
getBlobUrl
Get the URL of the blob to set its access tier.- Returns:
- Url of the blob to set its access tier.
-
getBlobContainerName
Gets the container name of the blob to set its access tier.- Returns:
- Container of the blob to set its access tier.
-
getBlobName
Gets the name of the blob to set its access tier.- Returns:
- Name of the blob to set its access tier.
-
getBlobIdentifier
Gets the identifier of the blob to set its access tier.- Returns:
- Identifier of the blob to set its access tier.
-
getVersionId
Gets the version id of the blob to set its access tier.- Returns:
- Version id of the blob to set its access tier.
-
setVersionId
Sets the version id of the blob to set its access tier.- Parameters:
versionId- Version id of the blob to set its access tier.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getSnapshot
Gets the snapshot of the blob to set its access tier.- Returns:
- Snapshot of the blob to set its access tier.
-
setSnapshot
Sets the snapshot of the blob to set its access tier.- Parameters:
snapshot- Snapshot of the blob to set its access tier.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
getTier
Gets the tier to set for the blob.- Returns:
- The new tier for the blob.
-
getPriority
Gets the priority to set for re-hydrating blob.- Returns:
- Priority to set for re-hydrating blob.
-
setPriority
Sets the priority to set for re-hydrating blob.- Parameters:
priority- Priority to set for re-hydrating blob.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
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 blobs must match.- Parameters:
leaseId- The lease ID the active lease on the blobs must match.- Returns:
- The updated BlobBatchSetBlobsAccessTierOptions.
-
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 BlobBatchSetBlobsAccessTierOptions.
-