public class HostNatServiceSpec extends DynamicData
Java class for HostNatServiceSpec complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="HostNatServiceSpec">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="virtualSwitch" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="activeFtp" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="allowAnyOui" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="configPort" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="ipGatewayAddress" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="udpTimeout" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="portForward" type="{urn:vim25}HostNatServicePortForwardSpec" maxOccurs="unbounded" minOccurs="0"/>
<element name="nameService" type="{urn:vim25}HostNatServiceNameServiceSpec" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
activeFtp |
protected boolean |
allowAnyOui |
protected boolean |
configPort |
protected String |
ipGatewayAddress |
protected HostNatServiceNameServiceSpec |
nameService |
protected List<HostNatServicePortForwardSpec> |
portForward |
protected int |
udpTimeout |
protected String |
virtualSwitch |
| Constructor and Description |
|---|
HostNatServiceSpec() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIpGatewayAddress()
Gets the value of the ipGatewayAddress property.
|
HostNatServiceNameServiceSpec |
getNameService()
Gets the value of the nameService property.
|
List<HostNatServicePortForwardSpec> |
getPortForward()
Gets the value of the portForward property.
|
int |
getUdpTimeout()
Gets the value of the udpTimeout property.
|
String |
getVirtualSwitch()
Gets the value of the virtualSwitch property.
|
boolean |
isActiveFtp()
Gets the value of the activeFtp property.
|
boolean |
isAllowAnyOui()
Gets the value of the allowAnyOui property.
|
boolean |
isConfigPort()
Gets the value of the configPort property.
|
void |
setActiveFtp(boolean value)
Sets the value of the activeFtp property.
|
void |
setAllowAnyOui(boolean value)
Sets the value of the allowAnyOui property.
|
void |
setConfigPort(boolean value)
Sets the value of the configPort property.
|
void |
setIpGatewayAddress(String value)
Sets the value of the ipGatewayAddress property.
|
void |
setNameService(HostNatServiceNameServiceSpec value)
Sets the value of the nameService property.
|
void |
setUdpTimeout(int value)
Sets the value of the udpTimeout property.
|
void |
setVirtualSwitch(String value)
Sets the value of the virtualSwitch property.
|
protected String virtualSwitch
protected boolean activeFtp
protected boolean allowAnyOui
protected boolean configPort
protected String ipGatewayAddress
protected int udpTimeout
protected List<HostNatServicePortForwardSpec> portForward
protected HostNatServiceNameServiceSpec nameService
public String getVirtualSwitch()
Stringpublic void setVirtualSwitch(String value)
value - allowed object is
Stringpublic boolean isActiveFtp()
public void setActiveFtp(boolean value)
public boolean isAllowAnyOui()
public void setAllowAnyOui(boolean value)
public boolean isConfigPort()
public void setConfigPort(boolean value)
public String getIpGatewayAddress()
Stringpublic void setIpGatewayAddress(String value)
value - allowed object is
Stringpublic int getUdpTimeout()
public void setUdpTimeout(int value)
public List<HostNatServicePortForwardSpec> getPortForward()
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 portForward property.
For example, to add a new item, do as follows:
getPortForward().add(newItem);
Objects of the following type(s) are allowed in the list
HostNatServicePortForwardSpec
public HostNatServiceNameServiceSpec getNameService()
HostNatServiceNameServiceSpecpublic void setNameService(HostNatServiceNameServiceSpec value)
value - allowed object is
HostNatServiceNameServiceSpecCopyright © 2018. All rights reserved.