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

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

The newest version!

package com.vmware.vim;

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.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:vim2}DynamicData">
 *       <sequence>
 *         <element name="datastore" type="{urn:vim2}ManagedObjectReference" minOccurs="0"/>
 *         <element name="pool" type="{urn:vim2}ManagedObjectReference" minOccurs="0"/>
 *         <element name="host" type="{urn:vim2}ManagedObjectReference" minOccurs="0"/>
 *         <element name="disk" type="{urn:vim2}VirtualMachineRelocateSpecDiskLocator" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="transform" type="{urn:vim2}VirtualMachineRelocateTransformation" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VirtualMachineRelocateSpec", propOrder = { "datastore", "pool", "host", "disk", "transform" }) public class VirtualMachineRelocateSpec extends DynamicData { protected ManagedObjectReference datastore; protected ManagedObjectReference pool; protected ManagedObjectReference host; protected List disk; protected VirtualMachineRelocateTransformation transform; /** * 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 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; } /** * Sets the value of the disk property. * * @param disk * allowed object is * {@link VirtualMachineRelocateSpecDiskLocator } * */ public void setDisk(List disk) { this.disk = disk; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy