public class PerfQuerySpec extends DynamicData
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>
| Modifier and Type | Field and Description |
|---|---|
protected XMLGregorianCalendar |
endTime |
protected ManagedObjectReference |
entity |
protected String |
format |
protected Integer |
intervalId |
protected Integer |
maxSample |
protected List<PerfMetricId> |
metricId |
protected XMLGregorianCalendar |
startTime |
| Constructor and Description |
|---|
PerfQuerySpec() |
| Modifier and Type | Method and Description |
|---|---|
XMLGregorianCalendar |
getEndTime()
Gets the value of the endTime property.
|
ManagedObjectReference |
getEntity()
Gets the value of the entity property.
|
String |
getFormat()
Gets the value of the format property.
|
Integer |
getIntervalId()
Gets the value of the intervalId property.
|
Integer |
getMaxSample()
Gets the value of the maxSample property.
|
List<PerfMetricId> |
getMetricId()
Gets the value of the metricId property.
|
XMLGregorianCalendar |
getStartTime()
Gets the value of the startTime property.
|
void |
setEndTime(XMLGregorianCalendar value)
Sets the value of the endTime property.
|
void |
setEntity(ManagedObjectReference value)
Sets the value of the entity property.
|
void |
setFormat(String value)
Sets the value of the format property.
|
void |
setIntervalId(Integer value)
Sets the value of the intervalId property.
|
void |
setMaxSample(Integer value)
Sets the value of the maxSample property.
|
void |
setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.
|
protected ManagedObjectReference entity
protected XMLGregorianCalendar startTime
protected XMLGregorianCalendar endTime
protected Integer maxSample
protected List<PerfMetricId> metricId
protected Integer intervalId
protected String format
public ManagedObjectReference getEntity()
ManagedObjectReferencepublic void setEntity(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic XMLGregorianCalendar getStartTime()
XMLGregorianCalendarpublic void setStartTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getEndTime()
XMLGregorianCalendarpublic void setEndTime(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic Integer getMaxSample()
Integerpublic void setMaxSample(Integer value)
value - allowed object is
Integerpublic List<PerfMetricId> getMetricId()
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
PerfMetricId
public Integer getIntervalId()
Integerpublic void setIntervalId(Integer value)
value - allowed object is
Integerpublic String getFormat()
StringCopyright © 2018. All rights reserved.