public class NetDnsConfigInfo extends DynamicData
Java class for NetDnsConfigInfo complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NetDnsConfigInfo">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="dhcp" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="hostName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="domainName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="ipAddress" 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 boolean |
dhcp |
protected String |
domainName |
protected String |
hostName |
protected List<String> |
ipAddress |
protected List<String> |
searchDomain |
| Constructor and Description |
|---|
NetDnsConfigInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDomainName()
Gets the value of the domainName property.
|
String |
getHostName()
Gets the value of the hostName property.
|
List<String> |
getIpAddress()
Gets the value of the ipAddress property.
|
List<String> |
getSearchDomain()
Gets the value of the searchDomain 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.
|
protected boolean dhcp
protected String hostName
protected String domainName
public boolean isDhcp()
public void setDhcp(boolean value)
public 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> getIpAddress()
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 ipAddress property.
For example, to add a new item, do as follows:
getIpAddress().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.