FilePosixProperties Class
- java.
lang. Object - com.
azure. storage. file. share. models. FilePosixProperties
- com.
public final class FilePosixProperties
NFS properties. Note that these properties only apply to files or directories in premium NFS file accounts.
Constructor Summary
Constructor | Description |
---|---|
FilePosixProperties() |
Default constructor |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getFileMode()
Gets the file mode permissions. |
Nfs |
getFileType()
Gets the file type. |
String |
getGroup()
Gets the owner group identifier (GID). |
Long |
getLinkCount()
Gets the link count of the file or directory. |
String |
getOwner()
Gets the owner user identifier (UID). |
File |
setFileMode(String fileMode)
Optional. |
File |
setGroup(String group)
Optional. |
File |
setOwner(String owner)
Optional. |
Methods inherited from java.lang.Object
Constructor Details
FilePosixProperties
public FilePosixProperties()
Default constructor
Method Details
getFileMode
public String getFileMode()
Gets the file mode permissions.
Returns:
getFileType
public NfsFileType getFileType()
Gets the file type.
Returns:
getGroup
public String getGroup()
Gets the owner group identifier (GID).
Returns:
getLinkCount
public Long getLinkCount()
Gets the link count of the file or directory.
Returns:
getOwner
public String getOwner()
Gets the owner user identifier (UID).
Returns:
setFileMode
public FilePosixProperties setFileMode(String fileMode)
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:
Returns:
setGroup
public FilePosixProperties setGroup(String group)
Optional. The owner group identifier (GID) to be set on the file or directory. The default value is 0 (root group).
Parameters:
Returns:
setOwner
public FilePosixProperties setOwner(String owner)
Optional. The owner user identifier (UID) to be set on the file or directory. The default value is 0 (root).
Parameters:
Returns: