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

com.vmware.vim25.OvfCreateImportSpecParams 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 OvfCreateImportSpecParams complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="OvfCreateImportSpecParams">
 *   <complexContent>
 *     <extension base="{urn:vim25}OvfManagerCommonParams">
 *       <sequence>
 *         <element name="entityName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="hostSystem" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="networkMapping" type="{urn:vim25}OvfNetworkMapping" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="ipAllocationPolicy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ipProtocol" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="propertyMapping" type="{urn:vim25}KeyValue" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OvfCreateImportSpecParams", propOrder = { "entityName", "hostSystem", "networkMapping", "ipAllocationPolicy", "ipProtocol", "propertyMapping" }) public class OvfCreateImportSpecParams extends OvfManagerCommonParams { @XmlElement(required = true) protected String entityName; protected ManagedObjectReference hostSystem; protected List networkMapping; protected String ipAllocationPolicy; protected String ipProtocol; protected List propertyMapping; /** * Gets the value of the entityName property. * * @return * possible object is * {@link String } * */ public String getEntityName() { return entityName; } /** * Sets the value of the entityName property. * * @param value * allowed object is * {@link String } * */ public void setEntityName(String value) { this.entityName = value; } /** * Gets the value of the hostSystem property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getHostSystem() { return hostSystem; } /** * Sets the value of the hostSystem property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setHostSystem(ManagedObjectReference value) { this.hostSystem = value; } /** * Gets the value of the networkMapping 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 networkMapping property. * *

* For example, to add a new item, do as follows: *

     *    getNetworkMapping().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link OvfNetworkMapping } * * */ public List getNetworkMapping() { if (networkMapping == null) { networkMapping = new ArrayList(); } return this.networkMapping; } /** * Gets the value of the ipAllocationPolicy property. * * @return * possible object is * {@link String } * */ public String getIpAllocationPolicy() { return ipAllocationPolicy; } /** * Sets the value of the ipAllocationPolicy property. * * @param value * allowed object is * {@link String } * */ public void setIpAllocationPolicy(String value) { this.ipAllocationPolicy = value; } /** * Gets the value of the ipProtocol property. * * @return * possible object is * {@link String } * */ public String getIpProtocol() { return ipProtocol; } /** * Sets the value of the ipProtocol property. * * @param value * allowed object is * {@link String } * */ public void setIpProtocol(String value) { this.ipProtocol = value; } /** * Gets the value of the propertyMapping 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 propertyMapping property. * *

* For example, to add a new item, do as follows: *

     *    getPropertyMapping().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link KeyValue } * * */ public List getPropertyMapping() { if (propertyMapping == null) { propertyMapping = new ArrayList(); } return this.propertyMapping; } /** * Sets the value of the networkMapping property. * * @param networkMapping * allowed object is * {@link OvfNetworkMapping } * */ public void setNetworkMapping(List networkMapping) { this.networkMapping = networkMapping; } /** * Sets the value of the propertyMapping property. * * @param propertyMapping * allowed object is * {@link KeyValue } * */ public void setPropertyMapping(List propertyMapping) { this.propertyMapping = propertyMapping; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy