com.vmware.vim25.OvfResourceMap Maven / Gradle / Ivy
package com.vmware.vim25;
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 OvfResourceMap complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="OvfResourceMap">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="source" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="parent" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* <element name="resourceSpec" type="{urn:vim25}ResourceConfigSpec" minOccurs="0"/>
* <element name="datastore" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OvfResourceMap", propOrder = {
"source",
"parent",
"resourceSpec",
"datastore"
})
public class OvfResourceMap
extends DynamicData
{
@XmlElement(required = true)
protected String source;
protected ManagedObjectReference parent;
protected ResourceConfigSpec resourceSpec;
protected ManagedObjectReference datastore;
/**
* Gets the value of the source property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSource() {
return source;
}
/**
* Sets the value of the source property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSource(String value) {
this.source = value;
}
/**
* Gets the value of the parent property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getParent() {
return parent;
}
/**
* Sets the value of the parent property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setParent(ManagedObjectReference value) {
this.parent = value;
}
/**
* Gets the value of the resourceSpec property.
*
* @return
* possible object is
* {@link ResourceConfigSpec }
*
*/
public ResourceConfigSpec getResourceSpec() {
return resourceSpec;
}
/**
* Sets the value of the resourceSpec property.
*
* @param value
* allowed object is
* {@link ResourceConfigSpec }
*
*/
public void setResourceSpec(ResourceConfigSpec value) {
this.resourceSpec = value;
}
/**
* Gets the value of the datastore property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getDatastore() {
return datastore;
}
/**
* Sets the value of the datastore property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setDatastore(ManagedObjectReference value) {
this.datastore = value;
}
}