Class CinderVolumeSnapshot
- java.lang.Object
-
- org.openstack4j.openstack.storage.block.domain.CinderVolumeSnapshot
-
- All Implemented Interfaces:
Serializable,Buildable<VolumeSnapshotBuilder>,ModelEntity,VolumeSnapshot
public class CinderVolumeSnapshot extends Object implements VolumeSnapshot
An OpenStack Volume Snapshot which is a point-in-time copy of a volume.- Author:
- Jeremy Unruh
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCinderVolumeSnapshot.ConcreteVolumeSnapshotBuilderstatic classCinderVolumeSnapshot.VolumeSnapshots-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Constructor Summary
Constructors Constructor Description CinderVolumeSnapshot()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeSnapshotBuilderbuilder()DategetCreated()StringgetDescription()StringgetDisplayDescription()StringgetDisplayName()StringgetId()Map<String,String>getMetaData()StringgetName()intgetSize()Size in GBsVolume.StatusgetStatus()StringgetVolumeId()The volume identifier of an existing volumeVolumeSnapshotBuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static VolumeSnapshotBuilder builder()
- Returns:
- a new Volume Snapshot builder
-
toBuilder
public VolumeSnapshotBuilder toBuilder()
- Specified by:
toBuilderin interfaceBuildable<VolumeSnapshotBuilder>
-
getId
public String getId()
- Specified by:
getIdin interfaceVolumeSnapshot- Returns:
- the snapshot identifier
-
getName
public String getName()
- Specified by:
getNamein interfaceVolumeSnapshot- Returns:
- the name of the snapshot
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayNamein interfaceVolumeSnapshot- Returns:
- the display name of the snapshot
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceVolumeSnapshot- Returns:
- the description of the snapshot
-
getDisplayDescription
public String getDisplayDescription()
- Specified by:
getDisplayDescriptionin interfaceVolumeSnapshot- Returns:
- the display description of the snapshot
-
getVolumeId
public String getVolumeId()
The volume identifier of an existing volume- Specified by:
getVolumeIdin interfaceVolumeSnapshot- Returns:
- the volume identifier or null
-
getStatus
public Volume.Status getStatus()
- Specified by:
getStatusin interfaceVolumeSnapshot- Returns:
- the status of the snapshot
-
getSize
public int getSize()
Size in GBs- Specified by:
getSizein interfaceVolumeSnapshot- Returns:
- the size of the snapshot in GB
-
getCreated
public Date getCreated()
- Specified by:
getCreatedin interfaceVolumeSnapshot- Returns:
- the created data of the snapshot
-
getMetaData
public Map<String,String> getMetaData()
- Specified by:
getMetaDatain interfaceVolumeSnapshot- Returns:
- extended meta data information. key value pair of String key, String value
-
-