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