Package com.azure.storage.file.share
Class FileSmbProperties
java.lang.Object
com.azure.storage.file.share.FileSmbProperties
A class used to represent the SMB properties of a file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the file's change time.Gets the file's creation time.Gets the file's ID.Gets the file's last write time.Gets the file's permission key.Gets the file'sNtfsFileAttributes
.Gets the file's parent ID.setFileChangeTime
(OffsetDateTime fileChangeTime) Sets the file change time.setFileCreationTime
(OffsetDateTime fileCreationTime) Sets the file creation time.setFileLastWriteTime
(OffsetDateTime fileLastWriteTime) Sets the file last write time.setFilePermissionKey
(String filePermissionKey) Sets the file permission key.setNtfsFileAttributes
(EnumSet<NtfsFileAttributes> ntfsFileAttributes) Sets the ntfs file attributes.
-
Constructor Details
-
FileSmbProperties
public FileSmbProperties()Default constructor
-
-
Method Details
-
getFilePermissionKey
Gets the file's permission key.- Returns:
- The file's permission key.
-
getNtfsFileAttributes
Gets the file'sNtfsFileAttributes
.- Returns:
- The file's
NtfsFileAttributes
.
-
getFileCreationTime
Gets the file's creation time.- Returns:
- The file's creation time.
-
getFileLastWriteTime
Gets the file's last write time.- Returns:
- The file's last write time.
-
getFileChangeTime
Gets the file's change time.- Returns:
- The file's change time.
-
getFileId
Gets the file's ID.- Returns:
- The file's ID.
-
getParentId
Gets the file's parent ID.- Returns:
- The file's parent ID.
-
setFilePermissionKey
Sets the file permission key.- Parameters:
filePermissionKey
- The file permission key.- Returns:
- the updated FileSmbProperties object.
-
setNtfsFileAttributes
Sets the ntfs file attributes.- Parameters:
ntfsFileAttributes
- An enum set of the ntfs file attributes.- Returns:
- the updated FileSmbProperties object.
-
setFileCreationTime
Sets the file creation time.- Parameters:
fileCreationTime
- The file creation time.- Returns:
- the updated FileSmbProperties object..
-
setFileLastWriteTime
Sets the file last write time.- Parameters:
fileLastWriteTime
- The file last write time.- Returns:
- the updated FileSmbProperties object.
-
setFileChangeTime
Sets the file change time.- Parameters:
fileChangeTime
- The file change time.- Returns:
- the updated FileSmbProperties object.
-