public final class FileDirectoryProperties extends Object
| Constructor and Description |
|---|
FileDirectoryProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getChangeTime()
Gets the change time for the directory.
|
String |
getCreationTime()
Gets the creation time for the directory.
|
String |
getEtag()
Gets the ETag value of the directory.
|
String |
getFileId()
Gets the directory's id.
|
String |
getFilePermissionKey()
Gets the directory's permission key.
|
Date |
getLastModified()
Gets the last modified time on the directory.
|
String |
getLastWriteTime()
Gets the last write time for the directory.
|
EnumSet<NtfsAttributes> |
getNtfsAttributes()
Gets the file system attributes for files and directories.
|
String |
getParentId()
Gets the directory's parent id.
|
boolean |
isServerEncrypted()
Gets the directory's server-side encryption status.
|
void |
setCreationTime(String creationTime)
Sets the creation time for the directory.
|
void |
setFilePermissionKey(String filePermissionKey)
Sets the directory's permission key.
|
void |
setLastWriteTime(String lastWriteTime)
Sets the last write time for the directory.
|
void |
setNtfsAttributes(EnumSet<NtfsAttributes> ntfsAttributes)
Sets the file system attributes for files and directories.
|
public String getEtag()
The ETag value is a unique identifier that is updated when a write operation is performed against the directory. It may be used to perform operations conditionally, providing concurrency control and improved efficiency.
The AccessCondition.generateIfMatchCondition(String) and
AccessCondition.generateIfNoneMatchCondition(String) methods take an ETag value and return an
AccessCondition object that may be specified on the request.
String which represents the ETag.public Date getLastModified()
java.util.Date object which represents the last modified time.public boolean isServerEncrypted()
boolean which specifies the directory's encryption status.public String getFilePermissionKey()
String which specifies the directory's permission key.public EnumSet<NtfsAttributes> getNtfsAttributes()
NtfsAttributes object which represents the file system attributes.public String getCreationTime()
String object which represents the creation time.public String getLastWriteTime()
String object which represents the last write time.public String getChangeTime()
String object which represents the change time.public String getFileId()
String which specifies the directory's id.public String getParentId()
String which specifies the directory's parent id.public void setFilePermissionKey(String filePermissionKey)
filePermissionKey - A String which specifies the directory permission key to set.public void setNtfsAttributes(EnumSet<NtfsAttributes> ntfsAttributes)
ntfsAttributes - A NtfsAttributes which specifies the file system attributes to set.public void setCreationTime(String creationTime)
creationTime - A String object which specifies the creation time to set.public void setLastWriteTime(String lastWriteTime)
lastWriteTime - A String object which specifies the last write time to set.Copyright © 2021. All Rights Reserved.