com.vmware.vim25.OvfCreateImportSpecParams Maven / Gradle / Ivy
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"/>
* <element name="resourceMapping" type="{urn:vim25}OvfResourceMap" maxOccurs="unbounded" minOccurs="0"/>
* <element name="diskProvisioning" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="instantiationOst" type="{urn:vim25}OvfConsumerOstNode" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OvfCreateImportSpecParams", propOrder = {
"entityName",
"hostSystem",
"networkMapping",
"ipAllocationPolicy",
"ipProtocol",
"propertyMapping",
"resourceMapping",
"diskProvisioning",
"instantiationOst"
})
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;
protected List resourceMapping;
protected String diskProvisioning;
protected OvfConsumerOstNode instantiationOst;
/**
* 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;
}
/**
* Gets the value of the resourceMapping 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 resourceMapping property.
*
*
* For example, to add a new item, do as follows:
*
* getResourceMapping().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OvfResourceMap }
*
*
*/
public List getResourceMapping() {
if (resourceMapping == null) {
resourceMapping = new ArrayList();
}
return this.resourceMapping;
}
/**
* Gets the value of the diskProvisioning property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDiskProvisioning() {
return diskProvisioning;
}
/**
* Sets the value of the diskProvisioning property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDiskProvisioning(String value) {
this.diskProvisioning = value;
}
/**
* Gets the value of the instantiationOst property.
*
* @return
* possible object is
* {@link OvfConsumerOstNode }
*
*/
public OvfConsumerOstNode getInstantiationOst() {
return instantiationOst;
}
/**
* Sets the value of the instantiationOst property.
*
* @param value
* allowed object is
* {@link OvfConsumerOstNode }
*
*/
public void setInstantiationOst(OvfConsumerOstNode value) {
this.instantiationOst = value;
}
}