public class ClusterHostPowerAction extends ClusterAction
Java class for ClusterHostPowerAction complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ClusterHostPowerAction">
<complexContent>
<extension base="{urn:vim25}ClusterAction">
<sequence>
<element name="operationType" type="{urn:vim25}HostPowerOperationType"/>
<element name="powerConsumptionWatt" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="cpuCapacityMHz" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
<element name="memCapacityMB" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
cpuCapacityMHz |
protected Integer |
memCapacityMB |
protected HostPowerOperationType |
operationType |
protected Integer |
powerConsumptionWatt |
target, type| Constructor and Description |
|---|
ClusterHostPowerAction() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCpuCapacityMHz()
Gets the value of the cpuCapacityMHz property.
|
Integer |
getMemCapacityMB()
Gets the value of the memCapacityMB property.
|
HostPowerOperationType |
getOperationType()
Gets the value of the operationType property.
|
Integer |
getPowerConsumptionWatt()
Gets the value of the powerConsumptionWatt property.
|
void |
setCpuCapacityMHz(Integer value)
Sets the value of the cpuCapacityMHz property.
|
void |
setMemCapacityMB(Integer value)
Sets the value of the memCapacityMB property.
|
void |
setOperationType(HostPowerOperationType value)
Sets the value of the operationType property.
|
void |
setPowerConsumptionWatt(Integer value)
Sets the value of the powerConsumptionWatt property.
|
getTarget, getType, setTarget, setTypeprotected HostPowerOperationType operationType
protected Integer powerConsumptionWatt
protected Integer cpuCapacityMHz
protected Integer memCapacityMB
public HostPowerOperationType getOperationType()
HostPowerOperationTypepublic void setOperationType(HostPowerOperationType value)
value - allowed object is
HostPowerOperationTypepublic Integer getPowerConsumptionWatt()
Integerpublic void setPowerConsumptionWatt(Integer value)
value - allowed object is
Integerpublic Integer getCpuCapacityMHz()
Integerpublic void setCpuCapacityMHz(Integer value)
value - allowed object is
Integerpublic Integer getMemCapacityMB()
IntegerCopyright © 2018. All rights reserved.