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 Summary
FieldsModifier and TypeFieldDescriptionprivate V1Chassisprivate V1Clockprivate V1CPUprivate V1Devicesprivate V1Featuresprivate V1Firmwareprivate Stringprivate V1Machineprivate V1Memoryprivate V1ResourceRequirements -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfeatures(V1Features features) firmware(V1Firmware firmware) Chassis specifies the chassis info passed to the domain.getClock()Clock sets the clock and timers of the vmi.getCpu()CPU allow specified the detailed CPU topology inside the vmi.Devices allows adding disks, network interfaces, ...Features like acpi, apic, hyperv, smm.Firmware.Controls whether or not disks will share IOThreads.Machine type.Memory allow specifying the VMI memory features.Resources describes the Compute Resources required by this vmi.inthashCode()ioThreadsPolicy(String ioThreadsPolicy) resources(V1ResourceRequirements resources) voidsetChassis(V1Chassis chassis) voidvoidvoidsetDevices(V1Devices devices) voidsetFeatures(V1Features features) voidsetFirmware(V1Firmware firmware) voidsetIoThreadsPolicy(String ioThreadsPolicy) voidsetMachine(V1Machine machine) voidvoidsetResources(V1ResourceRequirements resources) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
chassis
-
clock
-
cpu
-
devices
-
features
-
firmware
-
ioThreadsPolicy
-
machine
-
memory
-
resources
-
-
Constructor Details
-
V1DomainSpec
public V1DomainSpec()
-
-
Method Details
-
chassis
-
getChassis
Chassis specifies the chassis info passed to the domain. +optional- Returns:
- chassis
-
setChassis
-
clock
-
getClock
Clock sets the clock and timers of the vmi. +optional- Returns:
- clock
-
setClock
-
cpu
-
getCpu
CPU allow specified the detailed CPU topology inside the vmi. +optional- Returns:
- cpu
-
setCpu
-
devices
-
getDevices
Devices allows adding disks, network interfaces, ...- Returns:
- devices
-
setDevices
-
features
-
getFeatures
Features like acpi, apic, hyperv, smm. +optional- Returns:
- features
-
setFeatures
-
firmware
-
getFirmware
Firmware. +optional- Returns:
- firmware
-
setFirmware
-
ioThreadsPolicy
-
getIoThreadsPolicy
Controls whether or not disks will share IOThreads. Omitting IOThreadsPolicy disables use of IOThreads. One of: shared, auto +optional- Returns:
- ioThreadsPolicy
-
setIoThreadsPolicy
-
machine
-
getMachine
Machine type. +optional- Returns:
- machine
-
setMachine
-
memory
-
getMemory
Memory allow specifying the VMI memory features. +optional- Returns:
- memory
-
setMemory
-
resources
-
getResources
Resources describes the Compute Resources required by this vmi.- Returns:
- resources
-
setResources
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-