Class ShareSetMetadataOptions
java.lang.Object
com.azure.storage.file.share.options.ShareSetMetadataOptions
Extended options that may be passed when setting metadata on a share.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the metadata to set on the share.Gets theShareRequestConditions
.setMetadata
(Map<String, String> metadata) Sets the metadata to set on the share.setRequestConditions
(ShareRequestConditions requestConditions) Sets theShareRequestConditions
.
-
Constructor Details
-
ShareSetMetadataOptions
public ShareSetMetadataOptions()Creates a new instance ofShareSetMetadataOptions
.
-
-
Method Details
-
getMetadata
Gets the metadata to set on the share.- Returns:
- Metadata to set on the share, if null is passed the metadata for the share is cleared.
-
setMetadata
Sets the metadata to set on the share.- Parameters:
metadata
- Metadata to set on the share, if null is passed the metadata for the share is cleared.- Returns:
- The updated options.
-
getRequestConditions
Gets theShareRequestConditions
.- Returns:
ShareRequestConditions
.
-