![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.pbm.PbmPlacementCompatibilityResult Maven / Gradle / Ivy
package com.vmware.pbm;
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;
import com.vmware.vim25.DynamicData;
import com.vmware.vim25.LocalizedMethodFault;
/**
* Java class for PbmPlacementCompatibilityResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PbmPlacementCompatibilityResult">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="hub" type="{urn:pbm}PbmPlacementHub"/>
* <element name="matchingResources" type="{urn:pbm}PbmPlacementMatchingResources" maxOccurs="unbounded" minOccurs="0"/>
* <element name="howMany" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="utilization" type="{urn:pbm}PbmPlacementResourceUtilization" maxOccurs="unbounded" minOccurs="0"/>
* <element name="warning" type="{urn:vim25}LocalizedMethodFault" maxOccurs="unbounded" minOccurs="0"/>
* <element name="error" type="{urn:vim25}LocalizedMethodFault" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PbmPlacementCompatibilityResult", propOrder = {
"hub",
"matchingResources",
"howMany",
"utilization",
"warning",
"error"
})
public class PbmPlacementCompatibilityResult
extends DynamicData
{
@XmlElement(required = true)
protected PbmPlacementHub hub;
protected List matchingResources;
protected Long howMany;
protected List utilization;
protected List warning;
protected List error;
/**
* Gets the value of the hub property.
*
* @return
* possible object is
* {@link PbmPlacementHub }
*
*/
public PbmPlacementHub getHub() {
return hub;
}
/**
* Sets the value of the hub property.
*
* @param value
* allowed object is
* {@link PbmPlacementHub }
*
*/
public void setHub(PbmPlacementHub value) {
this.hub = value;
}
/**
* Gets the value of the matchingResources 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 matchingResources property.
*
*
* For example, to add a new item, do as follows:
*
* getMatchingResources().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PbmPlacementMatchingResources }
*
*
*/
public List getMatchingResources() {
if (matchingResources == null) {
matchingResources = new ArrayList();
}
return this.matchingResources;
}
/**
* Gets the value of the howMany property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getHowMany() {
return howMany;
}
/**
* Sets the value of the howMany property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setHowMany(Long value) {
this.howMany = value;
}
/**
* Gets the value of the utilization 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 utilization property.
*
*
* For example, to add a new item, do as follows:
*
* getUtilization().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PbmPlacementResourceUtilization }
*
*
*/
public List getUtilization() {
if (utilization == null) {
utilization = new ArrayList();
}
return this.utilization;
}
/**
* Gets the value of the warning 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 warning property.
*
*
* For example, to add a new item, do as follows:
*
* getWarning().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LocalizedMethodFault }
*
*
*/
public List getWarning() {
if (warning == null) {
warning = new ArrayList();
}
return this.warning;
}
/**
* Gets the value of the error 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 error property.
*
*
* For example, to add a new item, do as follows:
*
* getError().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LocalizedMethodFault }
*
*
*/
public List getError() {
if (error == null) {
error = new ArrayList();
}
return this.error;
}
}