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 java.lang.Object
Extra DHCP options to use in the interface.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
bootFileName
private java.util.List<java.lang.String>
ntpServers
private java.util.List<V1DHCPPrivateOptions>
privateOptions
private java.lang.String
tftpServerName
-
Constructor Summary
Constructors Constructor Description V1DHCPOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1DHCPOptions
addNtpServersItem(java.lang.String ntpServersItem)
V1DHCPOptions
addPrivateOptionsItem(V1DHCPPrivateOptions privateOptionsItem)
V1DHCPOptions
bootFileName(java.lang.String bootFileName)
boolean
equals(java.lang.Object o)
java.lang.String
getBootFileName()
If specified will pass option 67 to interface's DHCP server +optionaljava.util.List<java.lang.String>
getNtpServers()
If specified will pass the configured NTP server to the VM via DHCP option 042.java.util.List<V1DHCPPrivateOptions>
getPrivateOptions()
If specified will pass extra DHCP options for private use, range: 224-254 +optionaljava.lang.String
getTftpServerName()
If specified will pass option 66 to interface's DHCP server +optionalint
hashCode()
V1DHCPOptions
ntpServers(java.util.List<java.lang.String> ntpServers)
V1DHCPOptions
privateOptions(java.util.List<V1DHCPPrivateOptions> privateOptions)
void
setBootFileName(java.lang.String bootFileName)
void
setNtpServers(java.util.List<java.lang.String> ntpServers)
void
setPrivateOptions(java.util.List<V1DHCPPrivateOptions> privateOptions)
void
setTftpServerName(java.lang.String tftpServerName)
V1DHCPOptions
tftpServerName(java.lang.String tftpServerName)
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()
-
-
-
Field Detail
-
bootFileName
private java.lang.String bootFileName
-
ntpServers
private java.util.List<java.lang.String> ntpServers
-
privateOptions
private java.util.List<V1DHCPPrivateOptions> privateOptions
-
tftpServerName
private java.lang.String tftpServerName
-
-
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)
-
privateOptions
public V1DHCPOptions privateOptions(java.util.List<V1DHCPPrivateOptions> privateOptions)
-
addPrivateOptionsItem
public V1DHCPOptions addPrivateOptionsItem(V1DHCPPrivateOptions privateOptionsItem)
-
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 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).
-
-