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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java