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)
  • Constructor Details

  • Method Details

    • 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
    • getDevice

      @Nullable public String getDevice()
      Returns:
      the device name (e.g. "/dev/vdc")
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object