Package kubevirt.io

Class V1DHCPOptions


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

      • bootFileName

        private java.lang.String bootFileName
      • ntpServers

        private java.util.List<java.lang.String> ntpServers
      • tftpServerName

        private java.lang.String tftpServerName
    • Constructor Detail

      • V1DHCPOptions

        public V1DHCPOptions()
    • Method Detail

      • bootFileName

        public V1DHCPOptions bootFileName​(java.lang.String bootFileName)
      • getBootFileName

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

        public void setBootFileName​(java.lang.String bootFileName)
      • ntpServers

        public V1DHCPOptions ntpServers​(java.util.List<java.lang.String> ntpServers)
      • addNtpServersItem

        public V1DHCPOptions addNtpServersItem​(java.lang.String ntpServersItem)
      • getNtpServers

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

        public void setNtpServers​(java.util.List<java.lang.String> ntpServers)
      • getPrivateOptions

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

        public void setPrivateOptions​(java.util.List<V1DHCPPrivateOptions> privateOptions)
      • tftpServerName

        public V1DHCPOptions tftpServerName​(java.lang.String tftpServerName)
      • getTftpServerName

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

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