Package kubevirt.io

Class V1DHCPOptions

java.lang.Object
kubevirt.io.V1DHCPOptions

@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1DHCPOptions extends Object
Extra DHCP options to use in the interface.
  • Field Details

  • Constructor Details

    • V1DHCPOptions

      public V1DHCPOptions()
  • Method Details

    • bootFileName

      public V1DHCPOptions bootFileName(String bootFileName)
    • getBootFileName

      public String getBootFileName()
      If specified will pass option 67 to interface's DHCP server +optional
      Returns:
      bootFileName
    • setBootFileName

      public void setBootFileName(String bootFileName)
    • ntpServers

      public V1DHCPOptions ntpServers(List<String> ntpServers)
    • addNtpServersItem

      public V1DHCPOptions addNtpServersItem(String ntpServersItem)
    • getNtpServers

      public List<String> getNtpServers()
      If specified will pass the configured NTP server to the VM via DHCP option 042. +optional
      Returns:
      ntpServers
    • setNtpServers

      public void setNtpServers(List<String> ntpServers)
    • privateOptions

      public V1DHCPOptions privateOptions(List<V1DHCPPrivateOptions> privateOptions)
    • addPrivateOptionsItem

      public V1DHCPOptions addPrivateOptionsItem(V1DHCPPrivateOptions privateOptionsItem)
    • getPrivateOptions

      public List<V1DHCPPrivateOptions> getPrivateOptions()
      If specified will pass extra DHCP options for private use, range: 224-254 +optional
      Returns:
      privateOptions
    • setPrivateOptions

      public void setPrivateOptions(List<V1DHCPPrivateOptions> privateOptions)
    • tftpServerName

      public V1DHCPOptions tftpServerName(String tftpServerName)
    • getTftpServerName

      public String getTftpServerName()
      If specified will pass option 66 to interface's DHCP server +optional
      Returns:
      tftpServerName
    • setTftpServerName

      public void setTftpServerName(String tftpServerName)
    • 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).