public class HostNatServiceNameServiceSpec extends DynamicData
Java class for HostNatServiceNameServiceSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostNatServiceNameServiceSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="dnsAutoDetect" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="dnsPolicy" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="dnsRetries" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="dnsTimeout" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="dnsNameServer" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="nbdsTimeout" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="nbnsRetries" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="nbnsTimeout" type="{http://www.w3.org/2001/XMLSchema}int"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
dnsAutoDetect |
protected List<String> |
dnsNameServer |
protected String |
dnsPolicy |
protected int |
dnsRetries |
protected int |
dnsTimeout |
protected int |
nbdsTimeout |
protected int |
nbnsRetries |
protected int |
nbnsTimeout |
| Constructor and Description |
|---|
HostNatServiceNameServiceSpec() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDnsNameServer()
Gets the value of the dnsNameServer property.
|
String |
getDnsPolicy()
Gets the value of the dnsPolicy property.
|
int |
getDnsRetries()
Gets the value of the dnsRetries property.
|
int |
getDnsTimeout()
Gets the value of the dnsTimeout property.
|
int |
getNbdsTimeout()
Gets the value of the nbdsTimeout property.
|
int |
getNbnsRetries()
Gets the value of the nbnsRetries property.
|
int |
getNbnsTimeout()
Gets the value of the nbnsTimeout property.
|
boolean |
isDnsAutoDetect()
Gets the value of the dnsAutoDetect property.
|
void |
setDnsAutoDetect(boolean value)
Sets the value of the dnsAutoDetect property.
|
void |
setDnsPolicy(String value)
Sets the value of the dnsPolicy property.
|
void |
setDnsRetries(int value)
Sets the value of the dnsRetries property.
|
void |
setDnsTimeout(int value)
Sets the value of the dnsTimeout property.
|
void |
setNbdsTimeout(int value)
Sets the value of the nbdsTimeout property.
|
void |
setNbnsRetries(int value)
Sets the value of the nbnsRetries property.
|
void |
setNbnsTimeout(int value)
Sets the value of the nbnsTimeout property.
|
protected boolean dnsAutoDetect
protected String dnsPolicy
protected int dnsRetries
protected int dnsTimeout
protected int nbdsTimeout
protected int nbnsRetries
protected int nbnsTimeout
public boolean isDnsAutoDetect()
public void setDnsAutoDetect(boolean value)
public String getDnsPolicy()
Stringpublic void setDnsPolicy(String value)
value - allowed object is
Stringpublic int getDnsRetries()
public void setDnsRetries(int value)
public int getDnsTimeout()
public void setDnsTimeout(int value)
public List<String> getDnsNameServer()
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 dnsNameServer property.
For example, to add a new item, do as follows:
getDnsNameServer().add(newItem);
Objects of the following type(s) are allowed in the list
String
public int getNbdsTimeout()
public void setNbdsTimeout(int value)
public int getNbnsRetries()
public void setNbnsRetries(int value)
public int getNbnsTimeout()
public void setNbnsTimeout(int value)
Copyright © 2018. All rights reserved.