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