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() |
Creates a new instance of ShareSetMetadataOptions. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getMetadata()
Gets the metadata to set on the share. |
Share |
getRequestConditions()
Gets the ShareRequestConditions. |
Share |
setMetadata(Map<String,String> metadata)
Sets the metadata to set on the share. |
Share |
setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions. |
Methods inherited from java.lang.Object
Constructor Details
ShareSetMetadataOptions
public ShareSetMetadataOptions()
Creates a new instance of ShareSetMetadataOptions.
Method Details
getMetadata
public Map
Gets the metadata to set on the share.
Returns:
getRequestConditions
setMetadata
public ShareSetMetadataOptions setMetadata(Map
Sets the metadata to set on the share.
Parameters:
Returns:
setRequestConditions
public ShareSetMetadataOptions setRequestConditions(ShareRequestConditions requestConditions)
Sets the ShareRequestConditions.
Parameters:
Returns:
Applies to
Azure SDK for Java