public class Volume extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Volume.Builder<T extends Volume.Builder<T>> |
static class |
Volume.Status |
Modifier | Constructor and Description |
---|---|
protected |
Volume(String id,
Volume.Status status,
int size,
String zone,
Date created,
Set<VolumeAttachment> attachments,
String volumeType,
String snapshotId,
String name,
String description,
Map<String,String> metadata) |
Modifier and Type | Method and Description |
---|---|
static Volume.Builder<?> |
builder() |
boolean |
equals(Object obj) |
Set<VolumeAttachment> |
getAttachments() |
Date |
getCreated() |
String |
getDescription() |
String |
getId() |
Map<String,String> |
getMetadata() |
String |
getName() |
int |
getSize() |
String |
getSnapshotId() |
Volume.Status |
getStatus() |
String |
getVolumeType() |
String |
getZone() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Volume.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","status","size","availabilityZone","createdAt","attachments","volumeType","snapshotId","displayName","displayDescription","metadata"}) protected Volume(String id, Volume.Status status, int size, String zone, Date created, @Nullable Set<VolumeAttachment> attachments, @Nullable String volumeType, @Nullable String snapshotId, @Nullable String name, @Nullable String description, @Nullable Map<String,String> metadata)
public static Volume.Builder<?> builder()
public Volume.Builder<?> toBuilder()
public String getId()
public Volume.Status getStatus()
public int getSize()
public String getZone()
public Date getCreated()
public Set<VolumeAttachment> getAttachments()
@Nullable public String getName()
@Nullable public String getDescription()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.