Class ManilaShareSnapshot
- java.lang.Object
-
- org.openstack4j.openstack.manila.domain.ManilaShareSnapshot
-
- All Implemented Interfaces:
Serializable,ShareSnapshot,ModelEntity
public class ManilaShareSnapshot extends Object implements ShareSnapshot
A share snapshot is a point-in-time, read-only copy of the data that is contained in a share.- Author:
- Daniel Gonzalez Nothnagel
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classManilaShareSnapshot.ShareSnapshots-
Nested classes/interfaces inherited from interface org.openstack4j.model.manila.ShareSnapshot
ShareSnapshot.Status
-
-
Constructor Summary
Constructors Constructor Description ManilaShareSnapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCreatedAt()StringgetDescription()StringgetId()List<? extends Link>getLinks()StringgetName()StringgetShareId()Share.ProtocolgetShareProto()IntegergetShareSize()IntegergetSize()ShareSnapshot.StatusgetStatus()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceShareSnapshot- Returns:
- the UUID of the snapshot
-
getStatus
public ShareSnapshot.Status getStatus()
- Specified by:
getStatusin interfaceShareSnapshot- Returns:
- the snapshot status
-
getShareId
public String getShareId()
- Specified by:
getShareIdin interfaceShareSnapshot- Returns:
- the UUID of the source share that was used to create the snapshot
-
getName
public String getName()
- Specified by:
getNamein interfaceShareSnapshot- Returns:
- the snapshot name
-
getLinks
public List<? extends Link> getLinks()
- Specified by:
getLinksin interfaceShareSnapshot- Returns:
- The share snapshot links
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceShareSnapshot- Returns:
- the snapshot description
-
getCreatedAt
public String getCreatedAt()
- Specified by:
getCreatedAtin interfaceShareSnapshot- Returns:
- the date and time stamp when the snapshot was created
-
getShareProto
public Share.Protocol getShareProto()
- Specified by:
getShareProtoin interfaceShareSnapshot- Returns:
- the file system protocol of a share snapsho
-
getShareSize
public Integer getShareSize()
- Specified by:
getShareSizein interfaceShareSnapshot- Returns:
- the size of a source share, in GBs
-
getSize
public Integer getSize()
- Specified by:
getSizein interfaceShareSnapshot- Returns:
- the snapshot size, in GBs
-
-