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

com.vmware.vim25.HostSpecification 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * 

Java class for HostSpecification complex type. * *

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

 * <complexType name="HostSpecification">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="createdTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
 *         <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="host" type="{urn:vim25}ManagedObjectReference"/>
 *         <element name="subSpecs" type="{urn:vim25}HostSubSpecification" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="changeID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostSpecification", propOrder = { "createdTime", "lastModified", "host", "subSpecs", "changeID" }) public class HostSpecification extends DynamicData { @XmlElement(required = true) @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar createdTime; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar lastModified; @XmlElement(required = true) protected ManagedObjectReference host; protected List subSpecs; protected String changeID; /** * Gets the value of the createdTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreatedTime() { return createdTime; } /** * Sets the value of the createdTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreatedTime(XMLGregorianCalendar value) { this.createdTime = value; } /** * Gets the value of the lastModified property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getLastModified() { return lastModified; } /** * Sets the value of the lastModified property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setLastModified(XMLGregorianCalendar value) { this.lastModified = value; } /** * Gets the value of the host property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getHost() { return host; } /** * Sets the value of the host property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setHost(ManagedObjectReference value) { this.host = value; } /** * Gets the value of the subSpecs 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 subSpecs property. * *

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

     *    getSubSpecs().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HostSubSpecification } * * */ public List getSubSpecs() { if (subSpecs == null) { subSpecs = new ArrayList(); } return this.subSpecs; } /** * Gets the value of the changeID property. * * @return * possible object is * {@link String } * */ public String getChangeID() { return changeID; } /** * Sets the value of the changeID property. * * @param value * allowed object is * {@link String } * */ public void setChangeID(String value) { this.changeID = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy