FileDirectoryProperties Class

定义

Represents the system properties for a directory.

public class FileDirectoryProperties
继承
java.lang.Object
FileDirectoryProperties

方法

getEtag()

Gets the ETag value of the directory.

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.

getLastModified()

Gets the last modified time on the directory.

isServerEncrypted()

Gets the directory's server-side encryption status.

setEtag(final String etag)

Sets the ETag value on the directory.

setLastModified(final Date lastModified)

Sets the last modified time on the directory.

setServerEncrypted(boolean serverEncrypted)

Sets the directory's server-side encryption status.

适用于