Package org.jclouds.ec2.domain
Class Attachment
java.lang.Object
org.jclouds.ec2.domain.Attachment
- All Implemented Interfaces:
Comparable<Attachment>
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionAttachment(String region, String volumeId, String instanceId, String device, Attachment.Status status, Date attachTime) -
Method Summary
Modifier and TypeMethodDescriptionstatic Attachment.Builderbuilder()intbooleanTime stamp when the attachment initiated.The device as it is exposed to the instance.getId()The ID of the instance.Deprecated.Volume state.The ID of the volume.inthashCode()toString()
-
Constructor Details
-
Attachment
-
-
Method Details
-
builder
-
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
The ID of the volume. -
getId
The ID of the instance. -
getDevice
The device as it is exposed to the instance. -
getStatus
Volume state. -
getAttachTime
Time stamp when the attachment initiated. -
hashCode
public int hashCode() -
equals
-
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<Attachment>
-