Interface VolumeBackup
-
- All Superinterfaces:
ModelEntity,Serializable
- All Known Implementing Classes:
CinderVolumeBackup
public interface VolumeBackup extends ModelEntity
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVolumeBackup.StatusThe volume backup Status
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetContainer()DategetCreated()StringgetDescription()StringgetFailReason()StringgetId()StringgetName()intgetObjectCount()intgetSize()StringgetSnapshotId()VolumeBackup.StatusgetStatus()StringgetVolumeId()StringgetZone()BooleanhasDependent()BooleanisIncremental()
-
-
-
Method Detail
-
getId
String getId()
-
getName
String getName()
- Returns:
- the name of the Volume Transfer.
-
getDescription
String getDescription()
- Returns:
- the description of the volume backup
-
getVolumeId
String getVolumeId()
- Returns:
- The UUID of the volume.
-
getContainer
String getContainer()
- Returns:
- The container name or null.
-
isIncremental
Boolean isIncremental()
- Returns:
- The backup mode. A valid value is true for incremental backup mode or false for full backup mode
-
getZone
String getZone()
- Returns:
- the zone of availability to use
-
getStatus
VolumeBackup.Status getStatus()
- Returns:
- the status of the volume
-
getSize
int getSize()
- Returns:
- The size of the volume, in gibibytes (GiB).
-
getCreated
Date getCreated()
- Returns:
- the created date of the volume
-
getFailReason
String getFailReason()
- Returns:
- If the backup failed, the reason for the failure. Otherwise, null.
-
getObjectCount
int getObjectCount()
- Returns:
- The number of objects in the backup.
-
hasDependent
Boolean hasDependent()
- Returns:
- True if the backup depends on other backups.
-
getSnapshotId
String getSnapshotId()
- Returns:
- If the backup was created from snapshot, the snapshot id. Otherwise, null.
-
-