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

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


/**
 * 

Java class for PerfQuerySpec complex type. * *

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

 * <complexType name="PerfQuerySpec">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="entity" type="{urn:vim25}ManagedObjectReference"/>
 *         <element name="startTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="endTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="maxSample" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="metricId" type="{urn:vim25}PerfMetricId" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="intervalId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         <element name="format" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PerfQuerySpec", propOrder = { "entity", "startTime", "endTime", "maxSample", "metricId", "intervalId", "format" }) public class PerfQuerySpec extends DynamicData { @XmlElement(required = true) protected ManagedObjectReference entity; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar startTime; @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar endTime; protected Integer maxSample; protected List metricId; protected Integer intervalId; protected String format; /** * Gets the value of the entity property. * * @return * possible object is * {@link ManagedObjectReference } * */ public ManagedObjectReference getEntity() { return entity; } /** * Sets the value of the entity property. * * @param value * allowed object is * {@link ManagedObjectReference } * */ public void setEntity(ManagedObjectReference value) { this.entity = value; } /** * Gets the value of the startTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getStartTime() { return startTime; } /** * Sets the value of the startTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setStartTime(XMLGregorianCalendar value) { this.startTime = value; } /** * Gets the value of the endTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getEndTime() { return endTime; } /** * Sets the value of the endTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setEndTime(XMLGregorianCalendar value) { this.endTime = value; } /** * Gets the value of the maxSample property. * * @return * possible object is * {@link Integer } * */ public Integer getMaxSample() { return maxSample; } /** * Sets the value of the maxSample property. * * @param value * allowed object is * {@link Integer } * */ public void setMaxSample(Integer value) { this.maxSample = value; } /** * Gets the value of the metricId 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 metricId property. * *

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

     *    getMetricId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PerfMetricId } * * */ public List getMetricId() { if (metricId == null) { metricId = new ArrayList(); } return this.metricId; } /** * Gets the value of the intervalId property. * * @return * possible object is * {@link Integer } * */ public Integer getIntervalId() { return intervalId; } /** * Sets the value of the intervalId property. * * @param value * allowed object is * {@link Integer } * */ public void setIntervalId(Integer value) { this.intervalId = value; } /** * Gets the value of the format property. * * @return * possible object is * {@link String } * */ public String getFormat() { return format; } /** * Sets the value of the format property. * * @param value * allowed object is * {@link String } * */ public void setFormat(String value) { this.format = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy