Interface VolumeSnapshot
-
- All Superinterfaces:
Buildable<VolumeSnapshotBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
CinderVolumeSnapshot
public interface VolumeSnapshot extends ModelEntity, Buildable<VolumeSnapshotBuilder>
An OpenStack Volume Snapshot which is a point-in-time copy of a volume- Author:
- Jeremy Unruh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DategetCreated()StringgetDescription()StringgetDisplayDescription()Deprecated.StringgetDisplayName()Deprecated.StringgetId()Map<String,String>getMetaData()StringgetName()intgetSize()Size in GBsVolume.StatusgetStatus()StringgetVolumeId()The volume identifier of an existing volume
-
-
-
Method Detail
-
getId
String getId()
- Returns:
- the snapshot identifier
-
getName
String getName()
- Returns:
- the name of the snapshot
-
getDisplayName
@Deprecated String getDisplayName()
Deprecated.- Returns:
- the display name of the snapshot
-
getDescription
String getDescription()
- Returns:
- the description of the snapshot
-
getDisplayDescription
@Deprecated String getDisplayDescription()
Deprecated.- Returns:
- the display description of the snapshot
-
getVolumeId
String getVolumeId()
The volume identifier of an existing volume- Returns:
- the volume identifier or null
-
getStatus
Volume.Status getStatus()
- Returns:
- the status of the snapshot
-
getSize
int getSize()
Size in GBs- Returns:
- the size of the snapshot in GB
-
getCreated
Date getCreated()
- Returns:
- the created data of the snapshot
-
-