ShareFilePermission Class

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

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.

FilePermissionFormat getPermissionFormat()

Get the format of file permission.

ShareFilePermission setPermission(String permission)

Set the permission of file.

ShareFilePermission 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