public final class FileShareProperties extends Object
Constructor and Description |
---|
FileShareProperties()
Creates an instance of the
FileShareProperties class. |
FileShareProperties(FileShareProperties other)
Creates an instance of the
FileShareProperties class by copying values from another
FileShareProperties instance. |
Modifier and Type | Method and Description |
---|---|
String |
getEtag()
Gets the ETag value of the share.
|
Date |
getLastModified()
Gets the last modified time on the share.
|
Integer |
getShareQuota()
Gets the limit on the size of files (in GB) stored on the share.
|
protected void |
setEtag(String etag)
Sets the ETag value on the share.
|
protected void |
setLastModified(Date lastModified)
Sets the last modified time on the share.
|
void |
setShareQuota(Integer shareQuota)
Sets the limit on the size of files (in GB) stored on the share.
|
public FileShareProperties()
FileShareProperties
class.public FileShareProperties(FileShareProperties other)
FileShareProperties
class by copying values from another
FileShareProperties
instance.other
- A FileShareProperties
object which represents the file share properties to copy.public String getEtag()
The ETag value is a unique identifier that is updated when a write operation is performed against the share. 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 Integer getShareQuota()
java.lang.Integer
object which represents the limit on
the size of files stored on the share.protected void setEtag(String etag)
etag
- A String
which represents the ETag to set.protected void setLastModified(Date lastModified)
lastModified
- A java.util.Date
object which represents the last modified time to set.public void setShareQuota(Integer shareQuota)
shareQuota
- A java.lang.Integer
object which represents the limit on
the size of files stored on the share.Copyright © 2019. All rights reserved.