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

com.vmware.vim.HostListSummary Maven / Gradle / Ivy

The newest version!

package com.vmware.vim;

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 HostListSummary complex type. * *

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

 * <complexType name="HostListSummary">
 *   <complexContent>
 *     <extension base="{urn:vim2}DynamicData">
 *       <sequence>
 *         <element name="host" type="{urn:vim2}ManagedObjectReference" minOccurs="0"/>
 *         <element name="hardware" type="{urn:vim2}HostHardwareSummary" minOccurs="0"/>
 *         <element name="runtime" type="{urn:vim2}HostRuntimeInfo" minOccurs="0"/>
 *         <element name="config" type="{urn:vim2}HostConfigSummary"/>
 *         <element name="quickStats" type="{urn:vim2}HostListSummaryQuickStats"/>
 *         <element name="overallStatus" type="{urn:vim2}ManagedEntityStatus"/>
 *         <element name="rebootRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="customValue" type="{urn:vim2}CustomFieldValue" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "HostListSummary", propOrder = { "host", "hardware", "runtime", "config", "quickStats", "overallStatus", "rebootRequired", "customValue" }) public class HostListSummary extends DynamicData { protected ManagedObjectReference host; protected HostHardwareSummary hardware; protected HostRuntimeInfo runtime; @XmlElement(required = true) protected HostConfigSummary config; @XmlElement(required = true) protected HostListSummaryQuickStats quickStats; @XmlElement(required = true) protected ManagedEntityStatus overallStatus; protected boolean rebootRequired; protected List customValue; /** * 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 hardware property. * * @return * possible object is * {@link HostHardwareSummary } * */ public HostHardwareSummary getHardware() { return hardware; } /** * Sets the value of the hardware property. * * @param value * allowed object is * {@link HostHardwareSummary } * */ public void setHardware(HostHardwareSummary value) { this.hardware = value; } /** * Gets the value of the runtime property. * * @return * possible object is * {@link HostRuntimeInfo } * */ public HostRuntimeInfo getRuntime() { return runtime; } /** * Sets the value of the runtime property. * * @param value * allowed object is * {@link HostRuntimeInfo } * */ public void setRuntime(HostRuntimeInfo value) { this.runtime = value; } /** * Gets the value of the config property. * * @return * possible object is * {@link HostConfigSummary } * */ public HostConfigSummary getConfig() { return config; } /** * Sets the value of the config property. * * @param value * allowed object is * {@link HostConfigSummary } * */ public void setConfig(HostConfigSummary value) { this.config = value; } /** * Gets the value of the quickStats property. * * @return * possible object is * {@link HostListSummaryQuickStats } * */ public HostListSummaryQuickStats getQuickStats() { return quickStats; } /** * Sets the value of the quickStats property. * * @param value * allowed object is * {@link HostListSummaryQuickStats } * */ public void setQuickStats(HostListSummaryQuickStats value) { this.quickStats = value; } /** * Gets the value of the overallStatus property. * * @return * possible object is * {@link ManagedEntityStatus } * */ public ManagedEntityStatus getOverallStatus() { return overallStatus; } /** * Sets the value of the overallStatus property. * * @param value * allowed object is * {@link ManagedEntityStatus } * */ public void setOverallStatus(ManagedEntityStatus value) { this.overallStatus = value; } /** * Gets the value of the rebootRequired property. * */ public boolean isRebootRequired() { return rebootRequired; } /** * Sets the value of the rebootRequired property. * */ public void setRebootRequired(boolean value) { this.rebootRequired = value; } /** * Gets the value of the customValue 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 customValue property. * *

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

     *    getCustomValue().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link CustomFieldValue } * * */ public List getCustomValue() { if (customValue == null) { customValue = new ArrayList(); } return this.customValue; } /** * Sets the value of the customValue property. * * @param customValue * allowed object is * {@link CustomFieldValue } * */ public void setCustomValue(List customValue) { this.customValue = customValue; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy