com.vmware.vim25.NetDnsConfigSpec Maven / Gradle / Ivy
package com.vmware.vim25;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for NetDnsConfigSpec complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NetDnsConfigSpec">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="dhcp" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="hostName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="domainName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <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>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NetDnsConfigSpec", propOrder = {
"dhcp",
"hostName",
"domainName",
"ipAddress",
"searchDomain"
})
public class NetDnsConfigSpec
extends DynamicData
{
protected Boolean dhcp;
protected String hostName;
protected String domainName;
protected List ipAddress;
protected List searchDomain;
/**
* Gets the value of the dhcp property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDhcp() {
return dhcp;
}
/**
* Sets the value of the dhcp property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDhcp(Boolean value) {
this.dhcp = value;
}
/**
* Gets the value of the hostName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHostName() {
return hostName;
}
/**
* Sets the value of the hostName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setHostName(String value) {
this.hostName = value;
}
/**
* Gets the value of the domainName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDomainName() {
return domainName;
}
/**
* Sets the value of the domainName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDomainName(String value) {
this.domainName = value;
}
/**
* Gets the value of the ipAddress property.
*
*
* 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
* {@link String }
*
*
*/
public List getIpAddress() {
if (ipAddress == null) {
ipAddress = new ArrayList();
}
return this.ipAddress;
}
/**
* Gets the value of the searchDomain property.
*
*
* 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
* {@link String }
*
*
*/
public List getSearchDomain() {
if (searchDomain == null) {
searchDomain = new ArrayList();
}
return this.searchDomain;
}
}