public class Volume extends Object implements Comparable<Volume>
Modifier and Type | Class and Description |
---|---|
static class |
Volume.Builder |
static class |
Volume.InstanceInitiatedShutdownBehavior
Specifies whether the instance's Amazon EBS volumes are stopped or terminated when the
instance is shut down.
|
static class |
Volume.Status |
Constructor and Description |
---|
Volume(String region,
String id,
int size,
String snapshotId,
String availabilityZone,
Volume.Status status,
Date createTime,
Iterable<Attachment> attachments) |
Modifier and Type | Method and Description |
---|---|
static Volume.Builder |
builder() |
int |
compareTo(Volume that) |
boolean |
equals(Object obj) |
Set<Attachment> |
getAttachments() |
String |
getAvailabilityZone() |
Date |
getCreateTime() |
String |
getId() |
String |
getRegion()
Deprecated.
|
int |
getSize() |
String |
getSnapshotId() |
Volume.Status |
getStatus() |
int |
hashCode() |
String |
toString() |
public Volume(String region, String id, int size, String snapshotId, String availabilityZone, Volume.Status status, Date createTime, Iterable<Attachment> attachments)
public static Volume.Builder builder()
@Deprecated public String getRegion()
public String getId()
public int getSize()
public String getSnapshotId()
public String getAvailabilityZone()
public Volume.Status getStatus()
public Date getCreateTime()
public Set<Attachment> getAttachments()
public int compareTo(Volume that)
compareTo
in interface Comparable<Volume>
Copyright © 2009-2013 jclouds. All Rights Reserved.