Class FilePosixProperties
java.lang.Object
com.azure.storage.file.share.models.FilePosixProperties
NFS properties.
Note that these properties only apply to files or directories in premium NFS file accounts.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the file mode permissions.Gets the file type.getGroup()
Gets the owner group identifier (GID).Gets the link count of the file or directory.getOwner()
Gets the owner user identifier (UID).setFileMode
(String fileMode) Optional.Optional.Optional.
-
Constructor Details
-
FilePosixProperties
public FilePosixProperties()Default constructor
-
-
Method Details
-
getFileMode
Gets the file mode permissions.- Returns:
- the file mode permissions.
-
getOwner
Gets the owner user identifier (UID).- Returns:
- the owner user identifier (UID).
-
getGroup
Gets the owner group identifier (GID).- Returns:
- the owner group identifier (GID).
-
getFileType
Gets the file type.- Returns:
- the file type.
-
getLinkCount
Gets the link count of the file or directory.- Returns:
- the link count of the file or directory.
-
setFileMode
Optional. Version 2025-05-05 and newer. The mode permissions to be set on the file or directory. This can be in either symbolic or octal notation.For more information, see this Wikipedia page.
- Parameters:
fileMode
- The mode permissions to be set on the file or directory.- Returns:
- the FilePosixProperties object itself.
-
setOwner
Optional. The owner user identifier (UID) to be set on the file or directory. The default value is 0 (root).- Parameters:
owner
- the owner user identifier (UID) to set.- Returns:
- the FilePosixProperties object itself.
-
setGroup
Optional. The owner group identifier (GID) to be set on the file or directory. The default value is 0 (root group).- Parameters:
group
- the owner group identifier (GID) to set.- Returns:
- the FilePosixProperties object itself.
-