com.xerox.amazonws.ec2
Class VolumeInfo

java.lang.Object
  extended by 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[]).


Constructor Summary
VolumeInfo(String volumeId, String size, String snapshotId, String zone, String status, Calendar createTime)
           
 
Method Summary
 AttachmentInfo addAttachmentInfo(String volumeId, String instanceId, String device, String status, Calendar attachTime)
           
 List<AttachmentInfo> getAttachmentInfo()
           
 Calendar getCreateTime()
           
 String getSize()
           
 String getSnapshotId()
           
 String getStatus()
           
 String getVolumeId()
           
 String getZone()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeInfo

public VolumeInfo(String volumeId,
                  String size,
                  String snapshotId,
                  String zone,
                  String status,
                  Calendar createTime)
Method Detail

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