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 TypeMethodDescriptionsetFileChangeTime(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
- Returns:
- The file's permission key.
-
getNtfsFileAttributes
- Returns:
- The file's
NtfsFileAttributes.
-
getFileCreationTime
- Returns:
- The file's creation time.
-
getFileLastWriteTime
- Returns:
- The file's last write time.
-
getFileChangeTime
- Returns:
- The file's change time.
-
getFileId
- Returns:
- The file's ID.
-
getParentId
- 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.
-