All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.HostDnsConfig Maven / Gradle / Ivy

The newest version!

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.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostDnsConfig", propOrder = { "dhcp", "virtualNicDevice", "hostName", "domainName", "address", "searchDomain" }) @XmlSeeAlso({ HostDnsConfigSpec.class }) public class HostDnsConfig extends DynamicData { protected boolean dhcp; protected String virtualNicDevice; @XmlElement(required = true) protected String hostName; @XmlElement(required = true) protected String domainName; protected List address; protected List searchDomain; /** * Gets the value of the dhcp property. * */ public boolean isDhcp() { return dhcp; } /** * Sets the value of the dhcp property. * */ public void setDhcp(boolean value) { this.dhcp = value; } /** * Gets the value of the virtualNicDevice property. * * @return * possible object is * {@link String } * */ public String getVirtualNicDevice() { return virtualNicDevice; } /** * Sets the value of the virtualNicDevice property. * * @param value * allowed object is * {@link String } * */ public void setVirtualNicDevice(String value) { this.virtualNicDevice = 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 address 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 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 * {@link String } * * */ public List getAddress() { if (address == null) { address = new ArrayList(); } return this.address; } /** * 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; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy