Package kubevirt.io

Class V1Devices

java.lang.Object
kubevirt.io.V1Devices

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

    • autoattachGraphicsDevice

      private Boolean autoattachGraphicsDevice
    • autoattachPodInterface

      private Boolean autoattachPodInterface
    • blockMultiQueue

      private Boolean blockMultiQueue
    • disks

      private List<V1Disk> disks
    • gpus

      private List<V1GPU> gpus
    • inputs

      private List<V1Input> inputs
    • interfaces

      private List<V1Interface> interfaces
    • networkInterfaceMultiqueue

      private Boolean networkInterfaceMultiqueue
    • rng

      private V1Rng rng
    • watchdog

      private V1Watchdog watchdog
  • Constructor Details

    • V1Devices

      public V1Devices()
  • Method Details

    • autoattachGraphicsDevice

      public V1Devices autoattachGraphicsDevice(Boolean autoattachGraphicsDevice)
    • isAutoattachGraphicsDevice

      public Boolean isAutoattachGraphicsDevice()
      Whether to attach the default graphics device or not. VNC will not be available if set to false. Defaults to true.
      Returns:
      autoattachGraphicsDevice
    • setAutoattachGraphicsDevice

      public void setAutoattachGraphicsDevice(Boolean autoattachGraphicsDevice)
    • autoattachPodInterface

      public V1Devices autoattachPodInterface(Boolean autoattachPodInterface)
    • isAutoattachPodInterface

      public Boolean isAutoattachPodInterface()
      Whether to attach a pod network interface. Defaults to true.
      Returns:
      autoattachPodInterface
    • setAutoattachPodInterface

      public void setAutoattachPodInterface(Boolean autoattachPodInterface)
    • blockMultiQueue

      public V1Devices blockMultiQueue(Boolean blockMultiQueue)
    • isBlockMultiQueue

      public Boolean isBlockMultiQueue()
      Whether or not to enable virtio multi-queue for block devices +optional
      Returns:
      blockMultiQueue
    • setBlockMultiQueue

      public void setBlockMultiQueue(Boolean blockMultiQueue)
    • disks

      public V1Devices disks(List<V1Disk> disks)
    • addDisksItem

      public V1Devices addDisksItem(V1Disk disksItem)
    • getDisks

      public List<V1Disk> getDisks()
      Disks describes disks, cdroms, floppy and luns which are connected to the vmi.
      Returns:
      disks
    • setDisks

      public void setDisks(List<V1Disk> disks)
    • gpus

      public V1Devices gpus(List<V1GPU> gpus)
    • addGpusItem

      public V1Devices addGpusItem(V1GPU gpusItem)
    • getGpus

      public List<V1GPU> getGpus()
      Whether to attach a GPU device to the vmi. +optional
      Returns:
      gpus
    • setGpus

      public void setGpus(List<V1GPU> gpus)
    • inputs

      public V1Devices inputs(List<V1Input> inputs)
    • addInputsItem

      public V1Devices addInputsItem(V1Input inputsItem)
    • getInputs

      public List<V1Input> getInputs()
      Inputs describe input devices
      Returns:
      inputs
    • setInputs

      public void setInputs(List<V1Input> inputs)
    • interfaces

      public V1Devices interfaces(List<V1Interface> interfaces)
    • addInterfacesItem

      public V1Devices addInterfacesItem(V1Interface interfacesItem)
    • getInterfaces

      public List<V1Interface> getInterfaces()
      Interfaces describe network interfaces which are added to the vmi.
      Returns:
      interfaces
    • setInterfaces

      public void setInterfaces(List<V1Interface> interfaces)
    • networkInterfaceMultiqueue

      public V1Devices networkInterfaceMultiqueue(Boolean networkInterfaceMultiqueue)
    • isNetworkInterfaceMultiqueue

      public Boolean isNetworkInterfaceMultiqueue()
      If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature +optional
      Returns:
      networkInterfaceMultiqueue
    • setNetworkInterfaceMultiqueue

      public void setNetworkInterfaceMultiqueue(Boolean networkInterfaceMultiqueue)
    • rng

      public V1Devices rng(V1Rng rng)
    • getRng

      public V1Rng getRng()
      Whether to have random number generator from host +optional
      Returns:
      rng
    • setRng

      public void setRng(V1Rng rng)
    • watchdog

      public V1Devices watchdog(V1Watchdog watchdog)
    • getWatchdog

      public V1Watchdog getWatchdog()
      Watchdog describes a watchdog device which can be added to the vmi.
      Returns:
      watchdog
    • setWatchdog

      public void setWatchdog(V1Watchdog watchdog)
    • 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).