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.Object
V1Devices
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Boolean
autoattachGraphicsDevice
private java.lang.Boolean
autoattachPodInterface
private java.lang.Boolean
blockMultiQueue
private java.util.List<V1Disk>
disks
private java.util.List<V1GPU>
gpus
private java.util.List<V1Input>
inputs
private java.util.List<V1Interface>
interfaces
private java.lang.Boolean
networkInterfaceMultiqueue
private V1Rng
rng
private V1Watchdog
watchdog
-
Constructor Summary
Constructors Constructor Description V1Devices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1Devices
addDisksItem(V1Disk disksItem)
V1Devices
addGpusItem(V1GPU gpusItem)
V1Devices
addInputsItem(V1Input inputsItem)
V1Devices
addInterfacesItem(V1Interface interfacesItem)
V1Devices
autoattachGraphicsDevice(java.lang.Boolean autoattachGraphicsDevice)
V1Devices
autoattachPodInterface(java.lang.Boolean autoattachPodInterface)
V1Devices
blockMultiQueue(java.lang.Boolean blockMultiQueue)
V1Devices
disks(java.util.List<V1Disk> disks)
boolean
equals(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.V1Rng
getRng()
Whether to have random number generator from host +optionalV1Watchdog
getWatchdog()
Watchdog describes a watchdog device which can be added to the vmi.V1Devices
gpus(java.util.List<V1GPU> gpus)
int
hashCode()
V1Devices
inputs(java.util.List<V1Input> inputs)
V1Devices
interfaces(java.util.List<V1Interface> interfaces)
java.lang.Boolean
isAutoattachGraphicsDevice()
Whether to attach the default graphics device or not.java.lang.Boolean
isAutoattachPodInterface()
Whether to attach a pod network interface.java.lang.Boolean
isBlockMultiQueue()
Whether or not to enable virtio multi-queue for block devices +optionaljava.lang.Boolean
isNetworkInterfaceMultiqueue()
If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature +optionalV1Devices
networkInterfaceMultiqueue(java.lang.Boolean networkInterfaceMultiqueue)
V1Devices
rng(V1Rng rng)
void
setAutoattachGraphicsDevice(java.lang.Boolean autoattachGraphicsDevice)
void
setAutoattachPodInterface(java.lang.Boolean autoattachPodInterface)
void
setBlockMultiQueue(java.lang.Boolean blockMultiQueue)
void
setDisks(java.util.List<V1Disk> disks)
void
setGpus(java.util.List<V1GPU> gpus)
void
setInputs(java.util.List<V1Input> inputs)
void
setInterfaces(java.util.List<V1Interface> interfaces)
void
setNetworkInterfaceMultiqueue(java.lang.Boolean networkInterfaceMultiqueue)
void
setRng(V1Rng rng)
void
setWatchdog(V1Watchdog watchdog)
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).java.lang.String
toString()
V1Devices
watchdog(V1Watchdog watchdog)
-
-
-
Field Detail
-
autoattachGraphicsDevice
private java.lang.Boolean autoattachGraphicsDevice
-
autoattachPodInterface
private java.lang.Boolean autoattachPodInterface
-
blockMultiQueue
private java.lang.Boolean blockMultiQueue
-
disks
private java.util.List<V1Disk> disks
-
gpus
private java.util.List<V1GPU> gpus
-
inputs
private java.util.List<V1Input> inputs
-
interfaces
private java.util.List<V1Interface> interfaces
-
networkInterfaceMultiqueue
private java.lang.Boolean networkInterfaceMultiqueue
-
rng
private V1Rng rng
-
watchdog
private 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.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).
-
-