Package kubevirt.io

Class V1DomainSpec

java.lang.Object
kubevirt.io.V1DomainSpec

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

  • Constructor Details

    • V1DomainSpec

      public V1DomainSpec()
  • Method Details

    • chassis

      public V1DomainSpec chassis(V1Chassis chassis)
    • getChassis

      public V1Chassis getChassis()
      Chassis specifies the chassis info passed to the domain. +optional
      Returns:
      chassis
    • setChassis

      public void setChassis(V1Chassis chassis)
    • clock

      public V1DomainSpec clock(V1Clock clock)
    • getClock

      public V1Clock getClock()
      Clock sets the clock and timers of the vmi. +optional
      Returns:
      clock
    • setClock

      public void setClock(V1Clock clock)
    • cpu

      public V1DomainSpec cpu(V1CPU cpu)
    • getCpu

      public V1CPU getCpu()
      CPU allow specified the detailed CPU topology inside the vmi. +optional
      Returns:
      cpu
    • setCpu

      public void setCpu(V1CPU cpu)
    • devices

      public V1DomainSpec devices(V1Devices devices)
    • getDevices

      public V1Devices getDevices()
      Devices allows adding disks, network interfaces, ...
      Returns:
      devices
    • setDevices

      public void setDevices(V1Devices devices)
    • features

      public V1DomainSpec features(V1Features features)
    • getFeatures

      public V1Features getFeatures()
      Features like acpi, apic, hyperv, smm. +optional
      Returns:
      features
    • setFeatures

      public void setFeatures(V1Features features)
    • firmware

      public V1DomainSpec firmware(V1Firmware firmware)
    • getFirmware

      public V1Firmware getFirmware()
      Firmware. +optional
      Returns:
      firmware
    • setFirmware

      public void setFirmware(V1Firmware firmware)
    • ioThreadsPolicy

      public V1DomainSpec ioThreadsPolicy(String ioThreadsPolicy)
    • getIoThreadsPolicy

      public String getIoThreadsPolicy()
      Controls whether or not disks will share IOThreads. Omitting IOThreadsPolicy disables use of IOThreads. One of: shared, auto +optional
      Returns:
      ioThreadsPolicy
    • setIoThreadsPolicy

      public void setIoThreadsPolicy(String ioThreadsPolicy)
    • machine

      public V1DomainSpec machine(V1Machine machine)
    • getMachine

      public V1Machine getMachine()
      Machine type. +optional
      Returns:
      machine
    • setMachine

      public void setMachine(V1Machine machine)
    • memory

      public V1DomainSpec memory(V1Memory memory)
    • getMemory

      public V1Memory getMemory()
      Memory allow specifying the VMI memory features. +optional
      Returns:
      memory
    • setMemory

      public void setMemory(V1Memory memory)
    • resources

      public V1DomainSpec resources(V1ResourceRequirements resources)
    • getResources

      public V1ResourceRequirements getResources()
      Resources describes the Compute Resources required by this vmi.
      Returns:
      resources
    • setResources

      public void setResources(V1ResourceRequirements resources)
    • 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).