Class Snapshot
java.lang.Object
org.jclouds.openstack.cinder.v1.domain.Snapshot
An Openstack Cinder Volume Snapshot.
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSnapshot(String id, String volumeId, Volume.Status status, int size, Date created, String name, String description, SnapshotExtendedAttributes extendedAttributes)  - 
Method Summary
Modifier and TypeMethodDescriptionstatic Snapshot.Builderbuilder()booleancom.google.common.base.Optional<SnapshotExtendedAttributes> getId()getName()intgetSize()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()toString() 
- 
Constructor Details
- 
Snapshot
@ConstructorProperties({"id","volume_id","status","size","created_at","display_name","display_description","extendedAttributes"}) protected Snapshot(String id, String volumeId, Volume.Status status, int size, @Nullable Date created, @Nullable String name, @Nullable String description, @Nullable SnapshotExtendedAttributes extendedAttributes)  
 - 
 - 
Method Details
- 
builder
 - 
toBuilder
 - 
getId
- Returns:
 - The id of this snapshot
 
 - 
getVolumeId
- Returns:
 - The id of the Volume this snapshot was taken from
 
 - 
getStatus
- Returns:
 - The status of this snapshot
 
 - 
getSize
public int getSize()- Returns:
 - The size in GB of the volume this snapshot was taken from
 
 - 
getCreated
- Returns:
 - The data the snapshot was taken
 
 - 
getName
- Returns:
 - The name of this snapshot - as displayed in the openstack console
 
 - 
getDescription
- Returns:
 - The description of this snapshot - as displayed in the openstack console
 
 - 
getExtendedAttributes
@Nullable public com.google.common.base.Optional<SnapshotExtendedAttributes> getExtendedAttributes()- Returns:
 - Extended attributes for this snapshot. Only present when the
         
os-extended-snapshot-attributesextension is installed 
 - 
hashCode
public int hashCode() - 
equals
 - 
string
protected com.google.common.base.MoreObjects.ToStringHelper string() - 
toString
 
 -