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

com.vmware.vim25.FaultToleranceVMConfigSpec 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.XmlType;


/**
 * 

Java class for FaultToleranceVMConfigSpec complex type. * *

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

 * <complexType name="FaultToleranceVMConfigSpec">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="vmConfig" type="{urn:vim25}ManagedObjectReference" minOccurs="0"/>
 *         <element name="disks" type="{urn:vim25}FaultToleranceDiskSpec" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FaultToleranceVMConfigSpec", propOrder = { "vmConfig", "disks" }) public class FaultToleranceVMConfigSpec extends DynamicData { protected ManagedObjectReference vmConfig; protected List disks; /** * Gets the value of the vmConfig property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getVmConfig() { return vmConfig; } /** * Sets the value of the vmConfig property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setVmConfig(ManagedObjectReference value) { this.vmConfig = value; } /** * Gets the value of the disks 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 disks property. * *

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

     *    getDisks().add(newItem);
     * 
* * *

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





© 2015 - 2024 Weber Informatics LLC | Privacy Policy