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

com.vmware.vim25.VirtualMachineRelocateSpec Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for VirtualMachineRelocateSpec complex type. * *

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

 * <complexType name="VirtualMachineRelocateSpec">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="service" type="{urn:vim25}ServiceLocator" minOccurs="0"/>
 *         <element name="folder" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="datastore" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="diskMoveType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="pool" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="host" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="disk" type="{urn:vim25}VirtualMachineRelocateSpecDiskLocator" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="transform" type="{urn:vim25}VirtualMachineRelocateTransformation" minOccurs="0"/>
 *         <element name="deviceChange" type="{urn:vim25}VirtualDeviceConfigSpec" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="profile" type="{urn:vim25}VirtualMachineProfileSpec" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualMachineRelocateSpec", propOrder = { "service", "folder", "datastore", "diskMoveType", "pool", "host", "disk", "transform", "deviceChange", "profile" }) public class VirtualMachineRelocateSpec extends DynamicData { protected ServiceLocator service; protected ManagedObjectReference folder; protected ManagedObjectReference datastore; protected String diskMoveType; protected ManagedObjectReference pool; protected ManagedObjectReference host; protected List disk; @XmlSchemaType(name = "string") protected VirtualMachineRelocateTransformation transform; protected List deviceChange; protected List profile; /** * Gets the value of the service property. * * @return * possible object is * {@link ServiceLocator } * */ public ServiceLocator getService() { return service; } /** * Sets the value of the service property. * * @param value * allowed object is * {@link ServiceLocator } * */ public void setService(ServiceLocator value) { this.service = value; } /** * Gets the value of the folder property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getFolder() { return folder; } /** * Sets the value of the folder property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setFolder(ManagedObjectReference value) { this.folder = 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; } /** * Gets the value of the diskMoveType property. * * @return * possible object is * {@link String } * */ public String getDiskMoveType() { return diskMoveType; } /** * Sets the value of the diskMoveType property. * * @param value * allowed object is * {@link String } * */ public void setDiskMoveType(String value) { this.diskMoveType = value; } /** * Gets the value of the pool property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getPool() { return pool; } /** * Sets the value of the pool property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setPool(ManagedObjectReference value) { this.pool = value; } /** * Gets the value of the host property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getHost() { return host; } /** * Sets the value of the host property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setHost(ManagedObjectReference value) { this.host = value; } /** * Gets the value of the disk 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 disk property. * *

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

     *    getDisk().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineRelocateSpecDiskLocator } * * */ public List getDisk() { if (disk == null) { disk = new ArrayList(); } return this.disk; } /** * Gets the value of the transform property. * * @return * possible object is * {@link VirtualMachineRelocateTransformation } * */ public VirtualMachineRelocateTransformation getTransform() { return transform; } /** * Sets the value of the transform property. * * @param value * allowed object is * {@link VirtualMachineRelocateTransformation } * */ public void setTransform(VirtualMachineRelocateTransformation value) { this.transform = value; } /** * Gets the value of the deviceChange 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 deviceChange property. * *

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

     *    getDeviceChange().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualDeviceConfigSpec } * * */ public List getDeviceChange() { if (deviceChange == null) { deviceChange = new ArrayList(); } return this.deviceChange; } /** * Gets the value of the profile 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 profile property. * *

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

     *    getProfile().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VirtualMachineProfileSpec } * * */ public List getProfile() { if (profile == null) { profile = new ArrayList(); } return this.profile; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy