ShareSnapshotInfo Class
- java.
lang. Object - com.
azure. storage. file. share. models. ShareSnapshotInfo
- com.
public final class ShareSnapshotInfo
Contains information about a snapshot of a Share in the storage File service.
Constructor Summary
Constructor | Description |
---|---|
ShareSnapshotInfo(String snapshot, String eTag, OffsetDateTime lastModified) |
Creates an instance of snapshot information for a specific Share. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getETag()
Gets the entity tag that corresponds to the snapshot. |
Offset |
getLastModified()
Gets the last time the share was modified if the snapshot was created without metadata, otherwise this is the time that the snapshot was created. |
String |
getSnapshot()
Gets the identifier of the snapshot. |
Methods inherited from java.lang.Object
Constructor Details
ShareSnapshotInfo
public ShareSnapshotInfo(String snapshot, String eTag, OffsetDateTime lastModified)
Creates an instance of snapshot information for a specific Share.
Parameters:
Method Details
getETag
public String getETag()
Gets the entity tag that corresponds to the snapshot.
Returns:
getLastModified
public OffsetDateTime getLastModified()
Gets the last time the share was modified if the snapshot was created without metadata, otherwise this is the time that the snapshot was created.
Returns:
getSnapshot
public String getSnapshot()
Gets the identifier of the snapshot.
Returns:
Applies to
Azure SDK for Java
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour