你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareFilePermission Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareFilePermission
- com.
public class ShareFilePermission
Share File Permission.
Constructor Summary
Constructor | Description | |
---|---|---|
ShareFilePermission() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getPermission()
Gets the permission of file. |
File |
getPermissionFormat()
Get the format of file permission. |
Share |
setPermission(String permission)
Set the permission of file. |
Share |
setPermissionFormat(FilePermissionFormat permissionFormat)
Set the format of file permission. |
Methods inherited from java.lang.Object
Constructor Details
ShareFilePermission
public ShareFilePermission()
Method Details
getPermission
public String getPermission()
Gets the permission of file.
Returns:
getPermissionFormat
public FilePermissionFormat getPermissionFormat()
Get the format of file permission.
Returns:
setPermission
public ShareFilePermission setPermission(String permission)
Set the permission of file.
Parameters:
Returns:
setPermissionFormat
public ShareFilePermission setPermissionFormat(FilePermissionFormat permissionFormat)
Set the format of file permission.
Parameters:
Returns: