public final class FileDirectoryProperties extends Object
| Constructor and Description |
|---|
FileDirectoryProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEtag()
Gets the ETag value of the directory.
|
Date |
getLastModified()
Gets the last modified time on the directory.
|
boolean |
isServerEncrypted()
Gets the directory's server-side encryption status.
|
protected void |
setEtag(String etag)
Sets the ETag value on the directory.
|
protected void |
setLastModified(Date lastModified)
Sets the last modified time on the directory.
|
protected void |
setServerEncrypted(boolean serverEncrypted)
Sets the directory's server-side encryption status.
|
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.protected void setEtag(String etag)
etag - A String which represents the ETag to set.protected void setServerEncrypted(boolean serverEncrypted)
serverEncrypted - A boolean which specifies the encryption status to set.protected void setLastModified(Date lastModified)
lastModified - A java.util.Date object which represents the last modified time to set.Copyright © 2019. All rights reserved.