Package org.jclouds.ec2.domain
Class Volume
java.lang.Object
org.jclouds.ec2.domain.Volume
- All Implemented Interfaces:
Comparable<Volume>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
Specifies whether the instance's Amazon EBS volumes are stopped or terminated when the instance is shut down.static enum
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Volume
public Volume(String region, String id, int size, String snapshotId, String availabilityZone, Volume.Status status, Date createTime, String volumeType, Integer iops, boolean encrypted, Iterable<Attachment> attachments)
-
-
Method Details
-
toBuilder
-
builder
-
getRegion
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context. -
getId
-
getSize
public int getSize() -
getSnapshotId
-
getAvailabilityZone
-
getStatus
-
getCreateTime
-
getVolumeType
-
getIops
-
getEncrypted
public boolean getEncrypted() -
getAttachments
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Volume>
-
toString
-