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

com.vmware.vim25.FailToEnableSPBM 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.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * 

Java class for FailToEnableSPBM complex type. * *

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

 * <complexType name="FailToEnableSPBM">
 *   <complexContent>
 *     <extension base="{urn:vim25}NotEnoughLicenses">
 *       <sequence>
 *         <element name="cs" type="{urn:vim25}ManagedObjectReference"/>
 *         <element name="csName" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="hostLicenseStates" type="{urn:vim25}ComputeResourceHostSPBMLicenseInfo" maxOccurs="unbounded"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FailToEnableSPBM", propOrder = { "cs", "csName", "hostLicenseStates" }) public class FailToEnableSPBM extends NotEnoughLicenses { @XmlElement(required = true) protected ManagedObjectReference cs; @XmlElement(required = true) protected String csName; @XmlElement(required = true) protected List hostLicenseStates; /** * Gets the value of the cs property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getCs() { return cs; } /** * Sets the value of the cs property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setCs(ManagedObjectReference value) { this.cs = value; } /** * Gets the value of the csName property. * * @return * possible object is * {@link String } * */ public String getCsName() { return csName; } /** * Sets the value of the csName property. * * @param value * allowed object is * {@link String } * */ public void setCsName(String value) { this.csName = value; } /** * Gets the value of the hostLicenseStates 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 hostLicenseStates property. * *

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

     *    getHostLicenseStates().add(newItem);
     * 
* * *

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





© 2015 - 2025 Weber Informatics LLC | Privacy Policy