public class VirtualMachineSnapshotTree extends DynamicData
Java class for VirtualMachineSnapshotTree complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualMachineSnapshotTree">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="snapshot" type="{urn:vim25}ManagedObjectReference"/>
<element name="vm" type="{urn:vim25}ManagedObjectReference"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="createTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
<element name="state" type="{urn:vim25}VirtualMachinePowerState"/>
<element name="quiesced" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="backupManifest" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="childSnapshotList" type="{urn:vim25}VirtualMachineSnapshotTree" maxOccurs="unbounded" minOccurs="0"/>
<element name="replaySupported" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
backupManifest |
protected List<VirtualMachineSnapshotTree> |
childSnapshotList |
protected XMLGregorianCalendar |
createTime |
protected String |
description |
protected Integer |
id |
protected String |
name |
protected boolean |
quiesced |
protected Boolean |
replaySupported |
protected ManagedObjectReference |
snapshot |
protected VirtualMachinePowerState |
state |
protected ManagedObjectReference |
vm |
| Constructor and Description |
|---|
VirtualMachineSnapshotTree() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackupManifest()
Gets the value of the backupManifest property.
|
List<VirtualMachineSnapshotTree> |
getChildSnapshotList()
Gets the value of the childSnapshotList property.
|
XMLGregorianCalendar |
getCreateTime()
Gets the value of the createTime property.
|
String |
getDescription()
Gets the value of the description property.
|
Integer |
getId()
Gets the value of the id property.
|
String |
getName()
Gets the value of the name property.
|
ManagedObjectReference |
getSnapshot()
Gets the value of the snapshot property.
|
VirtualMachinePowerState |
getState()
Gets the value of the state property.
|
ManagedObjectReference |
getVm()
Gets the value of the vm property.
|
boolean |
isQuiesced()
Gets the value of the quiesced property.
|
Boolean |
isReplaySupported()
Gets the value of the replaySupported property.
|
void |
setBackupManifest(String value)
Sets the value of the backupManifest property.
|
void |
setCreateTime(XMLGregorianCalendar value)
Sets the value of the createTime property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setId(Integer value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setQuiesced(boolean value)
Sets the value of the quiesced property.
|
void |
setReplaySupported(Boolean value)
Sets the value of the replaySupported property.
|
void |
setSnapshot(ManagedObjectReference value)
Sets the value of the snapshot property.
|
void |
setState(VirtualMachinePowerState value)
Sets the value of the state property.
|
void |
setVm(ManagedObjectReference value)
Sets the value of the vm property.
|
protected ManagedObjectReference snapshot
protected ManagedObjectReference vm
protected String name
protected String description
protected Integer id
protected XMLGregorianCalendar createTime
protected VirtualMachinePowerState state
protected boolean quiesced
protected String backupManifest
protected List<VirtualMachineSnapshotTree> childSnapshotList
protected Boolean replaySupported
public ManagedObjectReference getSnapshot()
ManagedObjectReferencepublic void setSnapshot(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic ManagedObjectReference getVm()
ManagedObjectReferencepublic void setVm(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic void setId(Integer value)
value - allowed object is
Integerpublic XMLGregorianCalendar getCreateTime()
XMLGregorianCalendarpublic void setCreateTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic VirtualMachinePowerState getState()
VirtualMachinePowerStatepublic void setState(VirtualMachinePowerState value)
value - allowed object is
VirtualMachinePowerStatepublic boolean isQuiesced()
public void setQuiesced(boolean value)
public String getBackupManifest()
Stringpublic void setBackupManifest(String value)
value - allowed object is
Stringpublic List<VirtualMachineSnapshotTree> getChildSnapshotList()
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 childSnapshotList property.
For example, to add a new item, do as follows:
getChildSnapshotList().add(newItem);
Objects of the following type(s) are allowed in the list
VirtualMachineSnapshotTree
public Boolean isReplaySupported()
BooleanCopyright © 2018. All rights reserved.