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

com.vmware.vim25.HostNatServiceSpec 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.XmlType;


/**
 * 

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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostNatServiceSpec", propOrder = { "virtualSwitch", "activeFtp", "allowAnyOui", "configPort", "ipGatewayAddress", "udpTimeout", "portForward", "nameService" }) public class HostNatServiceSpec extends DynamicData { @XmlElement(required = true) protected String virtualSwitch; protected boolean activeFtp; protected boolean allowAnyOui; protected boolean configPort; @XmlElement(required = true) protected String ipGatewayAddress; protected int udpTimeout; protected List portForward; protected HostNatServiceNameServiceSpec nameService; /** * Gets the value of the virtualSwitch property. * * @return * possible object is * {@link String } * */ public String getVirtualSwitch() { return virtualSwitch; } /** * Sets the value of the virtualSwitch property. * * @param value * allowed object is * {@link String } * */ public void setVirtualSwitch(String value) { this.virtualSwitch = value; } /** * Gets the value of the activeFtp property. * */ public boolean isActiveFtp() { return activeFtp; } /** * Sets the value of the activeFtp property. * */ public void setActiveFtp(boolean value) { this.activeFtp = value; } /** * Gets the value of the allowAnyOui property. * */ public boolean isAllowAnyOui() { return allowAnyOui; } /** * Sets the value of the allowAnyOui property. * */ public void setAllowAnyOui(boolean value) { this.allowAnyOui = value; } /** * Gets the value of the configPort property. * */ public boolean isConfigPort() { return configPort; } /** * Sets the value of the configPort property. * */ public void setConfigPort(boolean value) { this.configPort = value; } /** * Gets the value of the ipGatewayAddress property. * * @return * possible object is * {@link String } * */ public String getIpGatewayAddress() { return ipGatewayAddress; } /** * Sets the value of the ipGatewayAddress property. * * @param value * allowed object is * {@link String } * */ public void setIpGatewayAddress(String value) { this.ipGatewayAddress = value; } /** * Gets the value of the udpTimeout property. * */ public int getUdpTimeout() { return udpTimeout; } /** * Sets the value of the udpTimeout property. * */ public void setUdpTimeout(int value) { this.udpTimeout = value; } /** * Gets the value of the portForward 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 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 * {@link HostNatServicePortForwardSpec } * * */ public List getPortForward() { if (portForward == null) { portForward = new ArrayList(); } return this.portForward; } /** * Gets the value of the nameService property. * * @return * possible object is * {@link HostNatServiceNameServiceSpec } * */ public HostNatServiceNameServiceSpec getNameService() { return nameService; } /** * Sets the value of the nameService property. * * @param value * allowed object is * {@link HostNatServiceNameServiceSpec } * */ public void setNameService(HostNatServiceNameServiceSpec value) { this.nameService = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy