public class Attachment extends Object implements Comparable<Attachment>
Modifier and Type | Class and Description |
---|---|
static class |
Attachment.Builder |
static class |
Attachment.Status |
Constructor and Description |
---|
Attachment(String region,
String volumeId,
String instanceId,
String device,
Attachment.Status status,
Date attachTime) |
Modifier and Type | Method and 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() |
public static Attachment.Builder builder()
@Deprecated public String getRegion()
public String getVolumeId()
public String getId()
public String getDevice()
public Attachment.Status getStatus()
public Date getAttachTime()
public int compareTo(Attachment o)
compareTo
in interface Comparable<Attachment>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.