你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareSetMetadataOptions Class
- java.
lang. Object - com.
azure. storage. file. share. options. ShareSetMetadataOptions
- com.
public class ShareSetMetadataOptions
Extended options that may be passed when setting metadata on a share.
Constructor Summary
Constructor | Description | |
---|---|---|
ShareSetMetadataOptions() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ShareSetMetadataOptions
public ShareSetMetadataOptions()
Method Details
getMetadata
public Map
Returns:
Metadata to set on the share, if null is passed the metadata for the share is cleared.
getRequestConditions
setMetadata
public ShareSetMetadataOptions setMetadata(Map
Parameters:
metadata
- Metadata to set on the share, if null is passed the metadata for the share is cleared.
Returns:
The updated options.
setRequestConditions
public ShareSetMetadataOptions setRequestConditions(ShareRequestConditions requestConditions)
Parameters:
requestConditions
- ShareRequestConditions.
Returns:
The updated options.