Package kubevirt.io

Class V1Interface

java.lang.Object
kubevirt.io.V1Interface

@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1Interface extends Object
V1Interface
  • Field Details

  • Constructor Details

    • V1Interface

      public V1Interface()
  • Method Details

    • bootOrder

      public V1Interface bootOrder(Integer bootOrder)
    • getBootOrder

      public Integer getBootOrder()
      BootOrder is an integer value > 0, used to determine ordering of boot devices. Lower values take precedence. Each interface or disk that has a boot order must have a unique value. Interfaces without a boot order are not tried. +optional
      Returns:
      bootOrder
    • setBootOrder

      public void setBootOrder(Integer bootOrder)
    • bridge

      public V1Interface bridge(V1InterfaceBridge bridge)
    • getBridge

      public V1InterfaceBridge getBridge()
      Get bridge
      Returns:
      bridge
    • setBridge

      public void setBridge(V1InterfaceBridge bridge)
    • dhcpOptions

      public V1Interface dhcpOptions(V1DHCPOptions dhcpOptions)
    • getDhcpOptions

      public V1DHCPOptions getDhcpOptions()
      If specified the network interface will pass additional DHCP options to the VMI +optional
      Returns:
      dhcpOptions
    • setDhcpOptions

      public void setDhcpOptions(V1DHCPOptions dhcpOptions)
    • macAddress

      public V1Interface macAddress(String macAddress)
    • getMacAddress

      public String getMacAddress()
      Interface MAC address. For example: de:ad:00:00:be:af or DE-AD-00-00-BE-AF.
      Returns:
      macAddress
    • setMacAddress

      public void setMacAddress(String macAddress)
    • masquerade

      public V1Interface masquerade(V1InterfaceMasquerade masquerade)
    • getMasquerade

      public V1InterfaceMasquerade getMasquerade()
      Get masquerade
      Returns:
      masquerade
    • setMasquerade

      public void setMasquerade(V1InterfaceMasquerade masquerade)
    • model

      public V1Interface model(String model)
    • getModel

      public String getModel()
      Interface model. One of: e1000, e1000e, ne2k_pci, pcnet, rtl8139, virtio. Defaults to virtio.
      Returns:
      model
    • setModel

      public void setModel(String model)
    • name

      public V1Interface name(String name)
    • getName

      public String getName()
      Logical name of the interface as well as a reference to the associated networks. Must match the Name of a Network.
      Returns:
      name
    • setName

      public void setName(String name)
    • pciAddress

      public V1Interface pciAddress(String pciAddress)
    • getPciAddress

      public String getPciAddress()
      If specified, the virtual network interface 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(String pciAddress)
    • ports

      public V1Interface ports(List<V1Port> ports)
    • addPortsItem

      public V1Interface addPortsItem(V1Port portsItem)
    • getPorts

      public List<V1Port> getPorts()
      List of ports to be forwarded to the virtual machine.
      Returns:
      ports
    • setPorts

      public void setPorts(List<V1Port> ports)
    • slirp

      public V1Interface slirp(V1InterfaceSlirp slirp)
    • getSlirp

      public V1InterfaceSlirp getSlirp()
      Get slirp
      Returns:
      slirp
    • setSlirp

      public void setSlirp(V1InterfaceSlirp slirp)
    • sriov

      public V1Interface sriov(V1InterfaceSRIOV sriov)
    • getSriov

      public V1InterfaceSRIOV getSriov()
      Get sriov
      Returns:
      sriov
    • setSriov

      public void setSriov(V1InterfaceSRIOV sriov)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).