Class ShareFilePermission
java.lang.Object
com.azure.storage.file.share.models.ShareFilePermission
Share File Permission.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the permission of file.Get the format of file permission.setPermission
(String permission) Set the permission of file.setPermissionFormat
(FilePermissionFormat permissionFormat) Set the format of file permission.
-
Constructor Details
-
ShareFilePermission
public ShareFilePermission()Creates a new instance ofShareFilePermission
.
-
-
Method Details
-
getPermissionFormat
Get the format of file permission.- Returns:
- the format of file permission.
-
getPermission
Gets the permission of file.- Returns:
- the permission of file.
-
setPermission
Set the permission of file.- Parameters:
permission
- the file permission.- Returns:
- the ShareFilePermission object itself.
-