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 java.lang.ObjectV1Devices
-
-
Constructor Summary
Constructors Constructor Description V1Devices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1DevicesaddDisksItem(V1Disk disksItem)V1DevicesaddGpusItem(V1GPU gpusItem)V1DevicesaddInputsItem(V1Input inputsItem)V1DevicesaddInterfacesItem(V1Interface interfacesItem)V1DevicesautoattachGraphicsDevice(java.lang.Boolean autoattachGraphicsDevice)V1DevicesautoattachPodInterface(java.lang.Boolean autoattachPodInterface)V1DevicesblockMultiQueue(java.lang.Boolean blockMultiQueue)V1Devicesdisks(java.util.List<V1Disk> disks)booleanequals(java.lang.Object o)java.util.List<V1Disk>getDisks()Disks describes disks, cdroms, floppy and luns which are connected to the vmi.java.util.List<V1GPU>getGpus()Whether to attach a GPU device to the vmi.java.util.List<V1Input>getInputs()Inputs describe input devicesjava.util.List<V1Interface>getInterfaces()Interfaces describe network interfaces which are added to the vmi.V1RnggetRng()Whether to have random number generator from host +optionalV1WatchdoggetWatchdog()Watchdog describes a watchdog device which can be added to the vmi.V1Devicesgpus(java.util.List<V1GPU> gpus)inthashCode()V1Devicesinputs(java.util.List<V1Input> inputs)V1Devicesinterfaces(java.util.List<V1Interface> interfaces)java.lang.BooleanisAutoattachGraphicsDevice()Whether to attach the default graphics device or not.java.lang.BooleanisAutoattachPodInterface()Whether to attach a pod network interface.java.lang.BooleanisBlockMultiQueue()Whether or not to enable virtio multi-queue for block devices +optionaljava.lang.BooleanisNetworkInterfaceMultiqueue()If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature +optionalV1DevicesnetworkInterfaceMultiqueue(java.lang.Boolean networkInterfaceMultiqueue)V1Devicesrng(V1Rng rng)voidsetAutoattachGraphicsDevice(java.lang.Boolean autoattachGraphicsDevice)voidsetAutoattachPodInterface(java.lang.Boolean autoattachPodInterface)voidsetBlockMultiQueue(java.lang.Boolean blockMultiQueue)voidsetDisks(java.util.List<V1Disk> disks)voidsetGpus(java.util.List<V1GPU> gpus)voidsetInputs(java.util.List<V1Input> inputs)voidsetInterfaces(java.util.List<V1Interface> interfaces)voidsetNetworkInterfaceMultiqueue(java.lang.Boolean networkInterfaceMultiqueue)voidsetRng(V1Rng rng)voidsetWatchdog(V1Watchdog watchdog)java.lang.StringtoString()V1Deviceswatchdog(V1Watchdog watchdog)
-
-
-
Method Detail
-
autoattachGraphicsDevice
public V1Devices autoattachGraphicsDevice(java.lang.Boolean autoattachGraphicsDevice)
-
isAutoattachGraphicsDevice
public java.lang.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(java.lang.Boolean autoattachGraphicsDevice)
-
autoattachPodInterface
public V1Devices autoattachPodInterface(java.lang.Boolean autoattachPodInterface)
-
isAutoattachPodInterface
public java.lang.Boolean isAutoattachPodInterface()
Whether to attach a pod network interface. Defaults to true.- Returns:
- autoattachPodInterface
-
setAutoattachPodInterface
public void setAutoattachPodInterface(java.lang.Boolean autoattachPodInterface)
-
blockMultiQueue
public V1Devices blockMultiQueue(java.lang.Boolean blockMultiQueue)
-
isBlockMultiQueue
public java.lang.Boolean isBlockMultiQueue()
Whether or not to enable virtio multi-queue for block devices +optional- Returns:
- blockMultiQueue
-
setBlockMultiQueue
public void setBlockMultiQueue(java.lang.Boolean blockMultiQueue)
-
getDisks
public java.util.List<V1Disk> getDisks()
Disks describes disks, cdroms, floppy and luns which are connected to the vmi.- Returns:
- disks
-
setDisks
public void setDisks(java.util.List<V1Disk> disks)
-
getGpus
public java.util.List<V1GPU> getGpus()
Whether to attach a GPU device to the vmi. +optional- Returns:
- gpus
-
setGpus
public void setGpus(java.util.List<V1GPU> gpus)
-
getInputs
public java.util.List<V1Input> getInputs()
Inputs describe input devices- Returns:
- inputs
-
setInputs
public void setInputs(java.util.List<V1Input> inputs)
-
interfaces
public V1Devices interfaces(java.util.List<V1Interface> interfaces)
-
addInterfacesItem
public V1Devices addInterfacesItem(V1Interface interfacesItem)
-
getInterfaces
public java.util.List<V1Interface> getInterfaces()
Interfaces describe network interfaces which are added to the vmi.- Returns:
- interfaces
-
setInterfaces
public void setInterfaces(java.util.List<V1Interface> interfaces)
-
networkInterfaceMultiqueue
public V1Devices networkInterfaceMultiqueue(java.lang.Boolean networkInterfaceMultiqueue)
-
isNetworkInterfaceMultiqueue
public java.lang.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(java.lang.Boolean networkInterfaceMultiqueue)
-
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(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-