public class HostDnsConfig extends DynamicData
Java class for HostDnsConfig complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostDnsConfig">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="dhcp" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="virtualNicDevice" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="hostName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="domainName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="address" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="searchDomain" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
address |
protected boolean |
dhcp |
protected String |
domainName |
protected String |
hostName |
protected List<String> |
searchDomain |
protected String |
virtualNicDevice |
| Constructor and Description |
|---|
HostDnsConfig() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAddress()
Gets the value of the address property.
|
String |
getDomainName()
Gets the value of the domainName property.
|
String |
getHostName()
Gets the value of the hostName property.
|
List<String> |
getSearchDomain()
Gets the value of the searchDomain property.
|
String |
getVirtualNicDevice()
Gets the value of the virtualNicDevice property.
|
boolean |
isDhcp()
Gets the value of the dhcp property.
|
void |
setDhcp(boolean value)
Sets the value of the dhcp property.
|
void |
setDomainName(String value)
Sets the value of the domainName property.
|
void |
setHostName(String value)
Sets the value of the hostName property.
|
void |
setVirtualNicDevice(String value)
Sets the value of the virtualNicDevice property.
|
protected boolean dhcp
protected String virtualNicDevice
protected String hostName
protected String domainName
public boolean isDhcp()
public void setDhcp(boolean value)
public String getVirtualNicDevice()
Stringpublic void setVirtualNicDevice(String value)
value - allowed object is
Stringpublic String getHostName()
Stringpublic void setHostName(String value)
value - allowed object is
Stringpublic String getDomainName()
Stringpublic void setDomainName(String value)
value - allowed object is
Stringpublic List<String> getAddress()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the address property.
For example, to add a new item, do as follows:
getAddress().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getSearchDomain()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the searchDomain property.
For example, to add a new item, do as follows:
getSearchDomain().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2018. All rights reserved.