![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualMachineRelocateSpecDiskLocator 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 VirtualMachineRelocateSpecDiskLocator complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualMachineRelocateSpecDiskLocator">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="diskId" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="datastore" type="{urn:vim25}ManagedObjectReference"/>
* <element name="diskMoveType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="diskBackingInfo" type="{urn:vim25}VirtualDeviceBackingInfo" minOccurs="0"/>
* <element name="profile" type="{urn:vim25}VirtualMachineProfileSpec" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualMachineRelocateSpecDiskLocator", propOrder = {
"diskId",
"datastore",
"diskMoveType",
"diskBackingInfo",
"profile"
})
public class VirtualMachineRelocateSpecDiskLocator
extends DynamicData
{
protected int diskId;
@XmlElement(required = true)
protected ManagedObjectReference datastore;
protected String diskMoveType;
protected VirtualDeviceBackingInfo diskBackingInfo;
protected List profile;
/**
* Gets the value of the diskId property.
*
*/
public int getDiskId() {
return diskId;
}
/**
* Sets the value of the diskId property.
*
*/
public void setDiskId(int value) {
this.diskId = 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 diskBackingInfo property.
*
* @return
* possible object is
* {@link VirtualDeviceBackingInfo }
*
*/
public VirtualDeviceBackingInfo getDiskBackingInfo() {
return diskBackingInfo;
}
/**
* Sets the value of the diskBackingInfo property.
*
* @param value
* allowed object is
* {@link VirtualDeviceBackingInfo }
*
*/
public void setDiskBackingInfo(VirtualDeviceBackingInfo value) {
this.diskBackingInfo = value;
}
/**
* 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;
}
}