Package com.azure.storage.blob.options
Class BlobSetTagsOptions
java.lang.Object
com.azure.storage.blob.options.BlobSetTagsOptions
Extended options that may be passed when setting tags for a blob.
-
Constructor Summary
ConstructorsConstructorDescriptionBlobSetTagsOptions(Map<String, String> tags) Creates a new instance ofBlobSetTagsOptions. -
Method Summary
Modifier and TypeMethodDescriptionGets theBlobRequestConditions.getTags()Gets the tags to associate with the blob.setRequestConditions(BlobRequestConditions requestConditions) Sets theBlobRequestConditions.
-
Constructor Details
-
BlobSetTagsOptions
Creates a new instance ofBlobSetTagsOptions.- Parameters:
tags- Tags to associate with the blob.- Throws:
NullPointerException- Iftagsis null.
-
-
Method Details
-
getTags
Gets the tags to associate with the blob.- Returns:
- The tags to associate with the blob.
-
getRequestConditions
Gets theBlobRequestConditions.- Returns:
BlobRequestConditions
-
setRequestConditions
Sets theBlobRequestConditions.- Parameters:
requestConditions-BlobRequestConditions- Returns:
- The updated options.
-