Class ShareDirectoryCreateOptions
java.lang.Object
com.azure.storage.file.share.options.ShareDirectoryCreateOptions
Extended options that may be passed when creating a share directory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetFilePermission
(String filePermissionKey) Sets the file permission key.setMetadata
(Map<String, String> metadata) setSmbProperties
(FileSmbProperties smbProperties)
-
Constructor Details
-
ShareDirectoryCreateOptions
public ShareDirectoryCreateOptions()
-
-
Method Details
-
getFilePermission
- Returns:
- The file's permission key.
-
setFilePermission
Sets the file permission key.- Parameters:
filePermissionKey
- The file permission key.- Returns:
- the updated options.
-
getSmbProperties
- Returns:
- Optional SMB properties to set on the destination file or directory. The only properties that are considered are file attributes, file creation time, file last write time, and file permission key. The rest are ignored.
-
getMetadata
- Returns:
- Metadata to associate with the share
-
setMetadata
- Parameters:
metadata
- Metadata to associate with the share. If there is leading or trailing whitespace in any metadata key or value, it must be removed or encoded.- Returns:
- The updated options.
-