你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ShareSetMetadataOptions Class

  • java.lang.Object
    • com.azure.storage.file.share.options.ShareSetMetadataOptions

public class ShareSetMetadataOptions

Extended options that may be passed when setting metadata on a share.

Constructor Summary

Constructor Description
ShareSetMetadataOptions()

Method Summary

Modifier and Type Method and Description
Map<String,String> getMetadata()
ShareRequestConditions getRequestConditions()
ShareSetMetadataOptions setMetadata(Map<String,String> metadata)
ShareSetMetadataOptions setRequestConditions(ShareRequestConditions requestConditions)

Methods inherited from java.lang.Object

Constructor Details

ShareSetMetadataOptions

public ShareSetMetadataOptions()

Method Details

getMetadata

public Map getMetadata()

Returns:

Metadata to set on the share, if null is passed the metadata for the share is cleared.

getRequestConditions

public ShareRequestConditions getRequestConditions()

Returns:

setMetadata

public ShareSetMetadataOptions setMetadata(Map metadata)

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.

Applies to