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,
String volumeType,
Integer iops,
boolean encrypted,
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() |
boolean |
getEncrypted() |
String |
getId() |
Integer |
getIops() |
String |
getRegion()
Deprecated.
|
int |
getSize() |
String |
getSnapshotId() |
Volume.Status |
getStatus() |
String |
getVolumeType() |
int |
hashCode() |
Volume.Builder |
toBuilder() |
String |
toString() |
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)
public Volume.Builder toBuilder()
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 String getVolumeType()
public Integer getIops()
public boolean getEncrypted()
public Set<Attachment> getAttachments()
public int compareTo(Volume that)
compareTo
in interface Comparable<Volume>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.