你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ShareInfo Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareInfo
- com.
public final class ShareInfo
Contains information about a Share in the storage File service.
Constructor Summary
Constructor | Description |
---|---|
ShareInfo(String eTag, OffsetDateTime lastModified) |
Creates an instance of information about a specific Share. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getETag()
Gets the entity tag that corresponds to the share. |
Offset |
getLastModified()
Gets the last time the share was modified. |
Methods inherited from java.lang.Object
Constructor Details
ShareInfo
public ShareInfo(String eTag, OffsetDateTime lastModified)
Creates an instance of information about a specific Share.
Parameters:
eTag
- Entity tag that corresponds to the share
lastModified
- Last time the share was modified
Method Details
getETag
public String getETag()
Gets the entity tag that corresponds to the share.
Returns:
the entity tag that corresponds to the share
getLastModified
public OffsetDateTime getLastModified()
Gets the last time the share was modified.
Returns:
the last time the share was modified