Package org.openstack4j.model.manila
Interface ShareSnapshot
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
ManilaShareSnapshot
public interface ShareSnapshot extends ModelEntity
A share snapshot is a point-in-time, read-only copy of the data that is contained in a share.- Author:
- Daniel Gonzalez Nothnagel
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classShareSnapshot.Status
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCreatedAt()StringgetDescription()StringgetId()List<? extends Link>getLinks()StringgetName()StringgetShareId()Share.ProtocolgetShareProto()IntegergetShareSize()IntegergetSize()ShareSnapshot.StatusgetStatus()
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the UUID of the snapshot
-
getStatus
ShareSnapshot.Status getStatus()
- Returns:
- the snapshot status
-
getShareId
String getShareId()
- Returns:
- the UUID of the source share that was used to create the snapshot
-
getName
String getName()
- Returns:
- the snapshot name
-
getDescription
String getDescription()
- Returns:
- the snapshot description
-
getCreatedAt
String getCreatedAt()
- Returns:
- the date and time stamp when the snapshot was created
-
getShareProto
Share.Protocol getShareProto()
- Returns:
- the file system protocol of a share snapsho
-
getShareSize
Integer getShareSize()
- Returns:
- the size of a source share, in GBs
-
getSize
Integer getSize()
- Returns:
- the snapshot size, in GBs
-
-