com.xerox.amazonws.ec2
Class VolumeInfo
java.lang.Object
com.xerox.amazonws.ec2.VolumeInfo
public class VolumeInfo
- extends Object
An instance of this class represents an EC2 Volume.
Instances are returned by calls to
com.xerox.amazonws.ec2.Jec2#createVolume(String)
,
Jec2.describeVolumes(List)
, and
Jec2.describeVolumes(String[])
.
VolumeInfo
public VolumeInfo(String volumeId,
String size,
String snapshotId,
String zone,
String status,
Calendar createTime)
getVolumeId
public String getVolumeId()
getSize
public String getSize()
getSnapshotId
public String getSnapshotId()
getZone
public String getZone()
getStatus
public String getStatus()
getCreateTime
public Calendar getCreateTime()
addAttachmentInfo
public AttachmentInfo addAttachmentInfo(String volumeId,
String instanceId,
String device,
String status,
Calendar attachTime)
getAttachmentInfo
public List<AttachmentInfo> getAttachmentInfo()
toString
public String toString()
- Overrides:
toString
in class Object