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 classVolumeAttachment.Builder<T extends VolumeAttachment.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protectedVolumeAttachment(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()booleanequals(Object obj)StringgetDevice()StringgetId()StringgetServerId()StringgetVolumeId()inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()VolumeAttachment.Builder<?>toBuilder()StringtoString()
-
-
-
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()
-
-