public class PlacementRankResult extends DynamicData
Java class for PlacementRankResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PlacementRankResult">
<complexContent>
<extension base="{urn:vim25}DynamicData">
<sequence>
<element name="key" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="candidate" type="{urn:vim25}ManagedObjectReference"/>
<element name="reservedSpaceMB" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="usedSpaceMB" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="totalSpaceMB" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="utilization" type="{http://www.w3.org/2001/XMLSchema}double"/>
<element name="faults" type="{urn:vim25}LocalizedMethodFault" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ManagedObjectReference |
candidate |
protected List<LocalizedMethodFault> |
faults |
protected String |
key |
protected long |
reservedSpaceMB |
protected long |
totalSpaceMB |
protected long |
usedSpaceMB |
protected double |
utilization |
| Constructor and Description |
|---|
PlacementRankResult() |
| Modifier and Type | Method and Description |
|---|---|
ManagedObjectReference |
getCandidate()
Gets the value of the candidate property.
|
List<LocalizedMethodFault> |
getFaults()
Gets the value of the faults property.
|
String |
getKey()
Gets the value of the key property.
|
long |
getReservedSpaceMB()
Gets the value of the reservedSpaceMB property.
|
long |
getTotalSpaceMB()
Gets the value of the totalSpaceMB property.
|
long |
getUsedSpaceMB()
Gets the value of the usedSpaceMB property.
|
double |
getUtilization()
Gets the value of the utilization property.
|
void |
setCandidate(ManagedObjectReference value)
Sets the value of the candidate property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setReservedSpaceMB(long value)
Sets the value of the reservedSpaceMB property.
|
void |
setTotalSpaceMB(long value)
Sets the value of the totalSpaceMB property.
|
void |
setUsedSpaceMB(long value)
Sets the value of the usedSpaceMB property.
|
void |
setUtilization(double value)
Sets the value of the utilization property.
|
protected String key
protected ManagedObjectReference candidate
protected long reservedSpaceMB
protected long usedSpaceMB
protected long totalSpaceMB
protected double utilization
protected List<LocalizedMethodFault> faults
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic ManagedObjectReference getCandidate()
ManagedObjectReferencepublic void setCandidate(ManagedObjectReference value)
value - allowed object is
ManagedObjectReferencepublic long getReservedSpaceMB()
public void setReservedSpaceMB(long value)
public long getUsedSpaceMB()
public void setUsedSpaceMB(long value)
public long getTotalSpaceMB()
public void setTotalSpaceMB(long value)
public double getUtilization()
public void setUtilization(double value)
public List<LocalizedMethodFault> getFaults()
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 faults property.
For example, to add a new item, do as follows:
getFaults().add(newItem);
Objects of the following type(s) are allowed in the list
LocalizedMethodFault
Copyright © 2018. All rights reserved.