Class ShareFilePermission

java.lang.Object
com.azure.storage.file.share.models.ShareFilePermission

public class ShareFilePermission extends Object
Share File Permission.
  • Constructor Details

    • ShareFilePermission

      public ShareFilePermission()
      Creates a new instance of ShareFilePermission.
  • Method Details

    • getPermissionFormat

      public FilePermissionFormat getPermissionFormat()
      Get the format of file permission.
      Returns:
      the format of file permission.
    • 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.
    • getPermission

      public String getPermission()
      Gets the permission of file.
      Returns:
      the permission of file.
    • setPermission

      public ShareFilePermission setPermission(String permission)
      Set the permission of file.
      Parameters:
      permission - the file permission.
      Returns:
      the ShareFilePermission object itself.