你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FileSmbProperties Class

  • java.lang.Object
    • com.azure.storage.file.share.FileSmbProperties

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
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.

Methods inherited from java.lang.Object

Constructor Details

FileSmbProperties

public FileSmbProperties()

Default constructor

Method Details

getFileChangeTime

public OffsetDateTime getFileChangeTime()

Returns:

The file's change time.

getFileCreationTime

public OffsetDateTime getFileCreationTime()

Returns:

The file's creation time.

getFileId

public String getFileId()

Returns:

The file's ID.

getFileLastWriteTime

public OffsetDateTime getFileLastWriteTime()

Returns:

The file's last write time.

getFilePermissionKey

public String getFilePermissionKey()

Returns:

The file's permission key.

getNtfsFileAttributes

public EnumSet getNtfsFileAttributes()

Returns:

The file's NtfsFileAttributes.

getParentId

public String getParentId()

Returns:

The file's parent ID.

setFileChangeTime

public FileSmbProperties setFileChangeTime(OffsetDateTime fileChangeTime)

Sets the file change time.

Parameters:

fileChangeTime - The file change time.

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.

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)

Sets the ntfs file attributes.

Parameters:

ntfsFileAttributes - An enum set of the ntfs file attributes.

Returns:

the updated FileSmbProperties object.

Applies to