
com.vmware.vim.PerfCounterInfo Maven / Gradle / Ivy
Show all versions of vi-api Show documentation
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 PerfCounterInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PerfCounterInfo">
* <complexContent>
* <extension base="{urn:vim2}DynamicData">
* <sequence>
* <element name="key" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="nameInfo" type="{urn:vim2}ElementDescription"/>
* <element name="groupInfo" type="{urn:vim2}ElementDescription"/>
* <element name="unitInfo" type="{urn:vim2}ElementDescription"/>
* <element name="rollupType" type="{urn:vim2}PerfSummaryType"/>
* <element name="statsType" type="{urn:vim2}PerfStatsType"/>
* <element name="associatedCounterId" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PerfCounterInfo", propOrder = {
"key",
"nameInfo",
"groupInfo",
"unitInfo",
"rollupType",
"statsType",
"associatedCounterId"
})
public class PerfCounterInfo
extends DynamicData
{
protected int key;
@XmlElement(required = true)
protected ElementDescription nameInfo;
@XmlElement(required = true)
protected ElementDescription groupInfo;
@XmlElement(required = true)
protected ElementDescription unitInfo;
@XmlElement(required = true)
protected PerfSummaryType rollupType;
@XmlElement(required = true)
protected PerfStatsType statsType;
@XmlElement(type = Integer.class)
protected List associatedCounterId;
/**
* Gets the value of the key property.
*
*/
public int getKey() {
return key;
}
/**
* Sets the value of the key property.
*
*/
public void setKey(int value) {
this.key = value;
}
/**
* Gets the value of the nameInfo property.
*
* @return
* possible object is
* {@link ElementDescription }
*
*/
public ElementDescription getNameInfo() {
return nameInfo;
}
/**
* Sets the value of the nameInfo property.
*
* @param value
* allowed object is
* {@link ElementDescription }
*
*/
public void setNameInfo(ElementDescription value) {
this.nameInfo = value;
}
/**
* Gets the value of the groupInfo property.
*
* @return
* possible object is
* {@link ElementDescription }
*
*/
public ElementDescription getGroupInfo() {
return groupInfo;
}
/**
* Sets the value of the groupInfo property.
*
* @param value
* allowed object is
* {@link ElementDescription }
*
*/
public void setGroupInfo(ElementDescription value) {
this.groupInfo = value;
}
/**
* Gets the value of the unitInfo property.
*
* @return
* possible object is
* {@link ElementDescription }
*
*/
public ElementDescription getUnitInfo() {
return unitInfo;
}
/**
* Sets the value of the unitInfo property.
*
* @param value
* allowed object is
* {@link ElementDescription }
*
*/
public void setUnitInfo(ElementDescription value) {
this.unitInfo = value;
}
/**
* Gets the value of the rollupType property.
*
* @return
* possible object is
* {@link PerfSummaryType }
*
*/
public PerfSummaryType getRollupType() {
return rollupType;
}
/**
* Sets the value of the rollupType property.
*
* @param value
* allowed object is
* {@link PerfSummaryType }
*
*/
public void setRollupType(PerfSummaryType value) {
this.rollupType = value;
}
/**
* Gets the value of the statsType property.
*
* @return
* possible object is
* {@link PerfStatsType }
*
*/
public PerfStatsType getStatsType() {
return statsType;
}
/**
* Sets the value of the statsType property.
*
* @param value
* allowed object is
* {@link PerfStatsType }
*
*/
public void setStatsType(PerfStatsType value) {
this.statsType = value;
}
/**
* Gets the value of the associatedCounterId 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 associatedCounterId property.
*
*
* For example, to add a new item, do as follows:
*
* getAssociatedCounterId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Integer }
*
*
*/
public List getAssociatedCounterId() {
if (associatedCounterId == null) {
associatedCounterId = new ArrayList();
}
return this.associatedCounterId;
}
/**
* Sets the value of the associatedCounterId property.
*
* @param associatedCounterId
* allowed object is
* {@link Integer }
*
*/
public void setAssociatedCounterId(List associatedCounterId) {
this.associatedCounterId = associatedCounterId;
}
}