Package kubevirt.io

Class V1DomainSpec


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

      • V1DomainSpec

        public V1DomainSpec()
    • Method Detail

      • getChassis

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

        public void setChassis​(V1Chassis chassis)
      • getClock

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

        public void setClock​(V1Clock clock)
      • getCpu

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

        public void setCpu​(V1CPU cpu)
      • getDevices

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

        public void setDevices​(V1Devices devices)
      • getFeatures

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

        public void setFeatures​(V1Features features)
      • getFirmware

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

        public void setFirmware​(V1Firmware firmware)
      • ioThreadsPolicy

        public V1DomainSpec ioThreadsPolicy​(java.lang.String ioThreadsPolicy)
      • getIoThreadsPolicy

        public java.lang.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​(java.lang.String ioThreadsPolicy)
      • getMachine

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

        public void setMachine​(V1Machine machine)
      • getMemory

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

        public void setMemory​(V1Memory memory)
      • getResources

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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

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