![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.VirtualMachineFileLayout 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.XmlType;
/**
* Java class for VirtualMachineFileLayout complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VirtualMachineFileLayout">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="configFile" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="logFile" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <element name="disk" type="{urn:vim25}VirtualMachineFileLayoutDiskLayout" maxOccurs="unbounded" minOccurs="0"/>
* <element name="snapshot" type="{urn:vim25}VirtualMachineFileLayoutSnapshotLayout" maxOccurs="unbounded" minOccurs="0"/>
* <element name="swapFile" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VirtualMachineFileLayout", propOrder = {
"configFile",
"logFile",
"disk",
"snapshot",
"swapFile"
})
public class VirtualMachineFileLayout
extends DynamicData
{
protected List configFile;
protected List logFile;
protected List disk;
protected List snapshot;
protected String swapFile;
/**
* Gets the value of the configFile 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 configFile property.
*
*
* For example, to add a new item, do as follows:
*
* getConfigFile().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getConfigFile() {
if (configFile == null) {
configFile = new ArrayList();
}
return this.configFile;
}
/**
* Gets the value of the logFile 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 logFile property.
*
*
* For example, to add a new item, do as follows:
*
* getLogFile().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getLogFile() {
if (logFile == null) {
logFile = new ArrayList();
}
return this.logFile;
}
/**
* 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 VirtualMachineFileLayoutDiskLayout }
*
*
*/
public List getDisk() {
if (disk == null) {
disk = new ArrayList();
}
return this.disk;
}
/**
* Gets the value of the snapshot 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 snapshot property.
*
*
* For example, to add a new item, do as follows:
*
* getSnapshot().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VirtualMachineFileLayoutSnapshotLayout }
*
*
*/
public List getSnapshot() {
if (snapshot == null) {
snapshot = new ArrayList();
}
return this.snapshot;
}
/**
* Gets the value of the swapFile property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSwapFile() {
return swapFile;
}
/**
* Sets the value of the swapFile property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSwapFile(String value) {
this.swapFile = value;
}
}