public class VirtualizationSetVcpusAction extends BaseVirtualizationAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SET_CPU_STRING |
formatter, NAME_LENGTH_LIMIT
Constructor and Description |
---|
VirtualizationSetVcpusAction() |
Modifier and Type | Method and Description |
---|---|
void |
extractParameters(java.util.Map context)
Extract any required parameters from the provided context and call the
appropriate setters.
|
java.lang.Integer |
getVcpu()
Guest the guest vcpus.
|
void |
setVcpu(java.lang.Integer vcpuIn)
Set the vcpus to be appied to the guest.
|
getUuid, setUuid
addServerAction, equals, getActionType, getAgeString, getArchived, getCreated, getEarliestAction, getFailedCount, getFormatter, getHistoryDetails, getId, getModified, getName, getOrg, getPrerequisite, getSchedulerUser, getServerActions, getSuccessfulCount, getVersion, hashCode, setActionType, setAgeString, setArchived, setCreated, setEarliestAction, setId, setModified, setName, setOrg, setPrerequisite, setSchedulerUser, setServerActions, setVersion, toString
public static final java.lang.String SET_CPU_STRING
public void setVcpu(java.lang.Integer vcpuIn)
vcpuIn
- New setting for guest vcpus.public java.lang.Integer getVcpu()
public void extractParameters(java.util.Map context)
extractParameters
in class BaseVirtualizationAction
context
- Map of strings