Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.ovirt.v1.MachinePool
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachinePool extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachinePool stores the configuration for a machine pool installed on ovirt.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(CPU cpu, Integer memoryMB, Disk osDisk, String vmType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()CPUgetCpu()MachinePool stores the configuration for a machine pool installed on ovirt.IntegergetMemoryMB()MemoryMB is the size of a VM's memory in MiBs.DiskgetOsDisk()MachinePool stores the configuration for a machine pool installed on ovirt.StringgetVmType()VMType defines the workload type of the VM.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCpu(CPU cpu)MachinePool stores the configuration for a machine pool installed on ovirt.voidsetMemoryMB(Integer memoryMB)MemoryMB is the size of a VM's memory in MiBs.voidsetOsDisk(Disk osDisk)MachinePool stores the configuration for a machine pool installed on ovirt.voidsetVmType(String vmType)VMType defines the workload type of the VM.MachinePoolBuildertoBuilder()
-
-
-
Method Detail
-
getCpu
public CPU getCpu()
MachinePool stores the configuration for a machine pool installed on ovirt.
-
setCpu
public void setCpu(CPU cpu)
MachinePool stores the configuration for a machine pool installed on ovirt.
-
getMemoryMB
public Integer getMemoryMB()
MemoryMB is the size of a VM's memory in MiBs.
-
setMemoryMB
public void setMemoryMB(Integer memoryMB)
MemoryMB is the size of a VM's memory in MiBs.
-
getOsDisk
public Disk getOsDisk()
MachinePool stores the configuration for a machine pool installed on ovirt.
-
setOsDisk
public void setOsDisk(Disk osDisk)
MachinePool stores the configuration for a machine pool installed on ovirt.
-
getVmType
public String getVmType()
VMType defines the workload type of the VM.
-
setVmType
public void setVmType(String vmType)
VMType defines the workload type of the VM.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-