Class VolumeAttachment
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.VolumeAttachment
-
public class VolumeAttachment extends Object
An OpenStack Nova Volume Attachment (describes how Volumes are attached to Servers)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VolumeAttachment.Builder<T extends VolumeAttachment.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
VolumeAttachment(String id, String volumeId, String serverId, String device)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeAttachment.Builder<?>
builder()
boolean
equals(Object obj)
String
getDevice()
String
getId()
String
getServerId()
String
getVolumeId()
int
hashCode()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
VolumeAttachment.Builder<?>
toBuilder()
String
toString()
-
-
-
Method Detail
-
builder
public static VolumeAttachment.Builder<?> builder()
-
toBuilder
public VolumeAttachment.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- the attachment id (typically the same as #getVolumeId())
-
getVolumeId
public String getVolumeId()
- Returns:
- the id of the volume attached
-
getServerId
@Nullable public String getServerId()
- Returns:
- the id of the server the volume is attached to
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-