Package kubevirt.io
Class V1DiskTarget
- java.lang.Object
-
- kubevirt.io.V1DiskTarget
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1DiskTarget extends java.lang.Object
V1DiskTarget
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
bus
private java.lang.String
pciAddress
private java.lang.Boolean
readonly
-
Constructor Summary
Constructors Constructor Description V1DiskTarget()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1DiskTarget
bus(java.lang.String bus)
boolean
equals(java.lang.Object o)
java.lang.String
getBus()
Bus indicates the type of disk device to emulate.java.lang.String
getPciAddress()
If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address.int
hashCode()
java.lang.Boolean
isReadonly()
ReadOnly.V1DiskTarget
pciAddress(java.lang.String pciAddress)
V1DiskTarget
readonly(java.lang.Boolean readonly)
void
setBus(java.lang.String bus)
void
setPciAddress(java.lang.String pciAddress)
void
setReadonly(java.lang.Boolean readonly)
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()
-
-
-
Method Detail
-
bus
public V1DiskTarget bus(java.lang.String bus)
-
getBus
public java.lang.String getBus()
Bus indicates the type of disk device to emulate. supported values: virtio, sata, scsi.- Returns:
- bus
-
setBus
public void setBus(java.lang.String bus)
-
pciAddress
public V1DiskTarget pciAddress(java.lang.String pciAddress)
-
getPciAddress
public java.lang.String getPciAddress()
If specified, the virtual disk will be placed on the guests pci address with the specifed PCI address. For example: 0000:81:01.10 +optional- Returns:
- pciAddress
-
setPciAddress
public void setPciAddress(java.lang.String pciAddress)
-
readonly
public V1DiskTarget readonly(java.lang.Boolean readonly)
-
isReadonly
public java.lang.Boolean isReadonly()
ReadOnly. Defaults to false.- Returns:
- readonly
-
setReadonly
public void setReadonly(java.lang.Boolean readonly)
-
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).
-
-