Package kubevirt.io

Class V1Disk

java.lang.Object
kubevirt.io.V1Disk

@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1Disk extends Object
V1Disk
  • Field Details

  • Constructor Details

    • V1Disk

      public V1Disk()
  • Method Details

    • bootOrder

      public V1Disk bootOrder(Integer bootOrder)
    • getBootOrder

      public Integer getBootOrder()
      BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists. +optional
      Returns:
      bootOrder
    • setBootOrder

      public void setBootOrder(Integer bootOrder)
    • cache

      public V1Disk cache(String cache)
    • getCache

      public String getCache()
      Cache specifies which kvm disk cache mode should be used. +optional
      Returns:
      cache
    • setCache

      public void setCache(String cache)
    • cdrom

      public V1Disk cdrom(V1CDRomTarget cdrom)
    • getCdrom

      public V1CDRomTarget getCdrom()
      Attach a volume as a cdrom to the vmi.
      Returns:
      cdrom
    • setCdrom

      public void setCdrom(V1CDRomTarget cdrom)
    • dedicatedIOThread

      public V1Disk dedicatedIOThread(Boolean dedicatedIOThread)
    • isDedicatedIOThread

      public Boolean isDedicatedIOThread()
      dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false. +optional
      Returns:
      dedicatedIOThread
    • setDedicatedIOThread

      public void setDedicatedIOThread(Boolean dedicatedIOThread)
    • disk

      public V1Disk disk(V1DiskTarget disk)
    • getDisk

      public V1DiskTarget getDisk()
      Attach a volume as a disk to the vmi.
      Returns:
      disk
    • setDisk

      public void setDisk(V1DiskTarget disk)
    • floppy

      public V1Disk floppy(V1FloppyTarget floppy)
    • getFloppy

      public V1FloppyTarget getFloppy()
      Attach a volume as a floppy to the vmi.
      Returns:
      floppy
    • setFloppy

      public void setFloppy(V1FloppyTarget floppy)
    • lun

      public V1Disk lun(V1LunTarget lun)
    • getLun

      public V1LunTarget getLun()
      Attach a volume as a LUN to the vmi.
      Returns:
      lun
    • setLun

      public void setLun(V1LunTarget lun)
    • name

      public V1Disk name(String name)
    • getName

      public String getName()
      Name is the device name
      Returns:
      name
    • setName

      public void setName(String name)
    • serial

      public V1Disk serial(String serial)
    • getSerial

      public String getSerial()
      Serial provides the ability to specify a serial number for the disk device. +optional
      Returns:
      serial
    • setSerial

      public void setSerial(String serial)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).