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 Object
V1Devices
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Booleanprivate Booleanprivate Booleanprivate List<V1Interface> private Booleanprivate V1Rngprivate V1Watchdog -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDisksItem(V1Disk disksItem) addGpusItem(V1GPU gpusItem) addInputsItem(V1Input inputsItem) addInterfacesItem(V1Interface interfacesItem) autoattachGraphicsDevice(Boolean autoattachGraphicsDevice) autoattachPodInterface(Boolean autoattachPodInterface) blockMultiQueue(Boolean blockMultiQueue) booleangetDisks()Disks describes disks, cdroms, floppy and luns which are connected to the vmi.getGpus()Whether to attach a GPU device to the vmi.Inputs describe input devicesInterfaces describe network interfaces which are added to the vmi.getRng()Whether to have random number generator from host +optionalWatchdog describes a watchdog device which can be added to the vmi.inthashCode()interfaces(List<V1Interface> interfaces) Whether to attach the default graphics device or not.Whether to attach a pod network interface.Whether or not to enable virtio multi-queue for block devices +optionalIf specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature +optionalnetworkInterfaceMultiqueue(Boolean networkInterfaceMultiqueue) voidsetAutoattachGraphicsDevice(Boolean autoattachGraphicsDevice) voidsetAutoattachPodInterface(Boolean autoattachPodInterface) voidsetBlockMultiQueue(Boolean blockMultiQueue) voidvoidvoidvoidsetInterfaces(List<V1Interface> interfaces) voidsetNetworkInterfaceMultiqueue(Boolean networkInterfaceMultiqueue) voidvoidsetWatchdog(V1Watchdog watchdog) private StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()watchdog(V1Watchdog watchdog)
-
Field Details
-
autoattachGraphicsDevice
-
autoattachPodInterface
-
blockMultiQueue
-
disks
-
gpus
-
inputs
-
interfaces
-
networkInterfaceMultiqueue
-
rng
-
watchdog
-
-
Constructor Details
-
V1Devices
public V1Devices()
-
-
Method Details
-
autoattachGraphicsDevice
-
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
-
autoattachPodInterface
-
isAutoattachPodInterface
Whether to attach a pod network interface. Defaults to true.- Returns:
- autoattachPodInterface
-
setAutoattachPodInterface
-
blockMultiQueue
-
isBlockMultiQueue
Whether or not to enable virtio multi-queue for block devices +optional- Returns:
- blockMultiQueue
-
setBlockMultiQueue
-
disks
-
addDisksItem
-
getDisks
Disks describes disks, cdroms, floppy and luns which are connected to the vmi.- Returns:
- disks
-
setDisks
-
gpus
-
addGpusItem
-
getGpus
Whether to attach a GPU device to the vmi. +optional- Returns:
- gpus
-
setGpus
-
inputs
-
addInputsItem
-
getInputs
Inputs describe input devices- Returns:
- inputs
-
setInputs
-
interfaces
-
addInterfacesItem
-
getInterfaces
Interfaces describe network interfaces which are added to the vmi.- Returns:
- interfaces
-
setInterfaces
-
networkInterfaceMultiqueue
-
isNetworkInterfaceMultiqueue
If specified, virtual network interfaces configured with a virtio bus will also enable the vhost multiqueue feature +optional- Returns:
- networkInterfaceMultiqueue
-
setNetworkInterfaceMultiqueue
-
rng
-
getRng
Whether to have random number generator from host +optional- Returns:
- rng
-
setRng
-
watchdog
-
getWatchdog
Watchdog describes a watchdog device which can be added to the vmi.- Returns:
- watchdog
-
setWatchdog
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-