Package org.jclouds.ec2.domain
Class Attachment
- java.lang.Object
-
- org.jclouds.ec2.domain.Attachment
-
- All Implemented Interfaces:
Comparable<Attachment>
public class Attachment extends Object implements Comparable<Attachment>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Attachment.Builder
static class
Attachment.Status
-
Constructor Summary
Constructors Constructor Description Attachment(String region, String volumeId, String instanceId, String device, Attachment.Status status, Date attachTime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Attachment.Builder
builder()
int
compareTo(Attachment o)
boolean
equals(Object obj)
Date
getAttachTime()
Time stamp when the attachment initiated.String
getDevice()
The device as it is exposed to the instance.String
getId()
The ID of the instance.String
getRegion()
Deprecated.Attachment.Status
getStatus()
Volume state.String
getVolumeId()
The ID of the volume.int
hashCode()
String
toString()
-
-
-
Method Detail
-
builder
public static Attachment.Builder builder()
-
getRegion
@Deprecated public String getRegion()
Deprecated.To be removed in jclouds 1.6Warning
Especially on EC2 clones that may not support regions, this value is fragile. Consider alternate means to determine context.
-
getVolumeId
public String getVolumeId()
The ID of the volume.
-
getId
public String getId()
The ID of the instance.
-
getDevice
public String getDevice()
The device as it is exposed to the instance.
-
getStatus
public Attachment.Status getStatus()
Volume state.
-
getAttachTime
public Date getAttachTime()
Time stamp when the attachment initiated.
-
compareTo
public int compareTo(Attachment o)
- Specified by:
compareTo
in interfaceComparable<Attachment>
-
-