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:
the permission of file.
getPermissionFormat
public FilePermissionFormat getPermissionFormat()
Get the format of file permission.
Returns:
the format of file permission.
setPermission
public ShareFilePermission setPermission(String permission)
Set the permission of file.
Parameters:
permission
- the file permission.
Returns:
the ShareFilePermission object itself.
setPermissionFormat
public ShareFilePermission setPermissionFormat(FilePermissionFormat permissionFormat)
Set the format of file permission.
Parameters:
permissionFormat
- the format of the file permission.
Returns:
the ShareFilePermission object itself.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java