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:
Applies to
Azure SDK for Java