Package kubevirt.io
Class V1Disk
java.lang.Object
kubevirt.io.V1Disk
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
date="2019-11-10T14:44:51.030+02:00")
public class V1Disk
extends Object
V1Disk
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Integerprivate Stringprivate V1CDRomTargetprivate Booleanprivate V1DiskTargetprivate V1FloppyTargetprivate V1LunTargetprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncdrom(V1CDRomTarget cdrom) dedicatedIOThread(Boolean dedicatedIOThread) disk(V1DiskTarget disk) booleanfloppy(V1FloppyTarget floppy) BootOrder is an integer value > 0, used to determine ordering of boot devices.getCache()Cache specifies which kvm disk cache mode should be used.getCdrom()Attach a volume as a cdrom to the vmi.getDisk()Attach a volume as a disk to the vmi.Attach a volume as a floppy to the vmi.getLun()Attach a volume as a LUN to the vmi.getName()Name is the device nameSerial provides the ability to specify a serial number for the disk device.inthashCode()dedicatedIOThread indicates this disk should have an exclusive IO Thread.lun(V1LunTarget lun) voidsetBootOrder(Integer bootOrder) voidvoidsetCdrom(V1CDRomTarget cdrom) voidsetDedicatedIOThread(Boolean dedicatedIOThread) voidsetDisk(V1DiskTarget disk) voidsetFloppy(V1FloppyTarget floppy) voidsetLun(V1LunTarget lun) voidvoidprivate StringConvert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
bootOrder
-
cache
-
cdrom
-
dedicatedIOThread
-
disk
-
floppy
-
lun
-
name
-
serial
-
-
Constructor Details
-
V1Disk
public V1Disk()
-
-
Method Details
-
bootOrder
-
getBootOrder
BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each disk or interface that has a boot order must have a unique value. Disks without a boot order are not tried if a disk with a boot order exists. +optional- Returns:
- bootOrder
-
setBootOrder
-
cache
-
getCache
Cache specifies which kvm disk cache mode should be used. +optional- Returns:
- cache
-
setCache
-
cdrom
-
getCdrom
Attach a volume as a cdrom to the vmi.- Returns:
- cdrom
-
setCdrom
-
dedicatedIOThread
-
isDedicatedIOThread
dedicatedIOThread indicates this disk should have an exclusive IO Thread. Enabling this implies useIOThreads = true. Defaults to false. +optional- Returns:
- dedicatedIOThread
-
setDedicatedIOThread
-
disk
-
getDisk
Attach a volume as a disk to the vmi.- Returns:
- disk
-
setDisk
-
floppy
-
getFloppy
Attach a volume as a floppy to the vmi.- Returns:
- floppy
-
setFloppy
-
lun
-
getLun
Attach a volume as a LUN to the vmi.- Returns:
- lun
-
setLun
-
name
-
getName
Name is the device name- Returns:
- name
-
setName
-
serial
-
getSerial
Serial provides the ability to specify a serial number for the disk device. +optional- Returns:
- serial
-
setSerial
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-