FileSmbProperties Class
- java.
lang. Object - com.
azure. storage. file. share. FileSmbProperties
- com.
public class FileSmbProperties
A class used to represent the SMB properties of a file.
Constructor Summary
Constructor | Description |
---|---|
FileSmbProperties() |
Default constructor |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getFileChangeTime() |
Offset |
getFileCreationTime() |
String | getFileId() |
Offset |
getFileLastWriteTime() |
String | getFilePermissionKey() |
Enum |
getNtfsFileAttributes() |
String | getParentId() |
File |
setFileChangeTime(OffsetDateTime fileChangeTime)
Sets the file change time. |
File |
setFileCreationTime(OffsetDateTime fileCreationTime)
Sets the file creation time. |
File |
setFileLastWriteTime(OffsetDateTime fileLastWriteTime)
Sets the file last write time. |
File |
setFilePermissionKey(String filePermissionKey)
Sets the file permission key. |
File |
setNtfsFileAttributes(EnumSet<NtfsFileAttributes> ntfsFileAttributes)
Sets the ntfs file attributes. |
Methods inherited from java.lang.Object
Constructor Details
FileSmbProperties
public FileSmbProperties()
Default constructor
Method Details
getFileChangeTime
public OffsetDateTime getFileChangeTime()
Returns:
getFileCreationTime
public OffsetDateTime getFileCreationTime()
Returns:
getFileId
public String getFileId()
Returns:
getFileLastWriteTime
public OffsetDateTime getFileLastWriteTime()
Returns:
getFilePermissionKey
public String getFilePermissionKey()
Returns:
getNtfsFileAttributes
getParentId
public String getParentId()
Returns:
setFileChangeTime
public FileSmbProperties setFileChangeTime(OffsetDateTime fileChangeTime)
Sets the file change time.
Parameters:
Returns:
setFileCreationTime
public FileSmbProperties setFileCreationTime(OffsetDateTime fileCreationTime)
Sets the file creation time.
Parameters:
Returns:
setFileLastWriteTime
public FileSmbProperties setFileLastWriteTime(OffsetDateTime fileLastWriteTime)
Sets the file last write time.
Parameters:
Returns:
setFilePermissionKey
public FileSmbProperties setFilePermissionKey(String filePermissionKey)
Sets the file permission key.
Parameters:
Returns:
setNtfsFileAttributes
public FileSmbProperties setNtfsFileAttributes(EnumSet
Sets the ntfs file attributes.
Parameters:
Returns: