Package kubevirt.io

Class V1Interface


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

      • V1Interface

        public V1Interface()
    • Method Detail

      • bootOrder

        public V1Interface bootOrder​(java.lang.Integer bootOrder)
      • getBootOrder

        public java.lang.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​(java.lang.Integer bootOrder)
      • 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​(java.lang.String macAddress)
      • getMacAddress

        public java.lang.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​(java.lang.String macAddress)
      • model

        public V1Interface model​(java.lang.String model)
      • getModel

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

        public void setModel​(java.lang.String model)
      • name

        public V1Interface name​(java.lang.String name)
      • getName

        public java.lang.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​(java.lang.String name)
      • pciAddress

        public V1Interface pciAddress​(java.lang.String pciAddress)
      • getPciAddress

        public java.lang.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​(java.lang.String pciAddress)
      • getPorts

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

        public void setPorts​(java.util.List<V1Port> ports)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object