Class CinderVolumeBackup
- java.lang.Object
-
- org.openstack4j.openstack.storage.block.domain.CinderVolumeBackup
-
- All Implemented Interfaces:
Serializable,ModelEntity,VolumeBackup
public class CinderVolumeBackup extends Object implements VolumeBackup
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCinderVolumeBackup.VolumeBackups-
Nested classes/interfaces inherited from interface org.openstack4j.model.storage.block.VolumeBackup
VolumeBackup.Status
-
-
Constructor Summary
Constructors Constructor Description CinderVolumeBackup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContainer()DategetCreated()StringgetDescription()StringgetFailReason()StringgetId()StringgetName()intgetObjectCount()intgetSize()StringgetSnapshotId()VolumeBackup.StatusgetStatus()StringgetVolumeId()StringgetZone()BooleanhasDependent()BooleanisIncremental()
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceVolumeBackup
-
getName
public String getName()
- Specified by:
getNamein interfaceVolumeBackup- Returns:
- the name of the Volume Transfer.
-
getVolumeId
public String getVolumeId()
- Specified by:
getVolumeIdin interfaceVolumeBackup- Returns:
- The UUID of the volume.
-
getZone
public String getZone()
- Specified by:
getZonein interfaceVolumeBackup- Returns:
- the zone of availability to use
-
getStatus
public VolumeBackup.Status getStatus()
- Specified by:
getStatusin interfaceVolumeBackup- Returns:
- the status of the volume
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceVolumeBackup- Returns:
- the description of the volume backup
-
isIncremental
public Boolean isIncremental()
- Specified by:
isIncrementalin interfaceVolumeBackup- Returns:
- The backup mode. A valid value is true for incremental backup mode or false for full backup mode
-
getSize
public int getSize()
- Specified by:
getSizein interfaceVolumeBackup- Returns:
- The size of the volume, in gibibytes (GiB).
-
getCreated
public Date getCreated()
- Specified by:
getCreatedin interfaceVolumeBackup- Returns:
- the created date of the volume
-
getContainer
public String getContainer()
- Specified by:
getContainerin interfaceVolumeBackup- Returns:
- The container name or null.
-
getFailReason
public String getFailReason()
- Specified by:
getFailReasonin interfaceVolumeBackup- Returns:
- If the backup failed, the reason for the failure. Otherwise, null.
-
getObjectCount
public int getObjectCount()
- Specified by:
getObjectCountin interfaceVolumeBackup- Returns:
- The number of objects in the backup.
-
hasDependent
public Boolean hasDependent()
- Specified by:
hasDependentin interfaceVolumeBackup- Returns:
- True if the backup depends on other backups.
-
getSnapshotId
public String getSnapshotId()
- Specified by:
getSnapshotIdin interfaceVolumeBackup- Returns:
- If the backup was created from snapshot, the snapshot id. Otherwise, null.
-
-