Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.powervs.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 IBM Power VS.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(Integer memoryGiB, String procType, io.fabric8.kubernetes.api.model.IntOrString processors, String smtLevel, String sysType, List<String> volumeIDs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMemoryGiB()memoryGiB is the size of a virtual machine's memory, in GiB.io.fabric8.kubernetes.api.model.IntOrStringgetProcessors()MachinePool stores the configuration for a machine pool installed on IBM Power VS.StringgetProcType()ProcType defines the processor sharing model for the instance.StringgetSmtLevel()SMTLevel specifies the level of SMT to set the control plane and worker nodes to.StringgetSysType()SysType defines the system type for instance.List<String>getVolumeIDs()VolumeIDs is the list of volumes attached to the instance.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMemoryGiB(Integer memoryGiB)memoryGiB is the size of a virtual machine's memory, in GiB.voidsetProcessors(io.fabric8.kubernetes.api.model.IntOrString processors)MachinePool stores the configuration for a machine pool installed on IBM Power VS.voidsetProcType(String procType)ProcType defines the processor sharing model for the instance.voidsetSmtLevel(String smtLevel)SMTLevel specifies the level of SMT to set the control plane and worker nodes to.voidsetSysType(String sysType)SysType defines the system type for instance.voidsetVolumeIDs(List<String> volumeIDs)VolumeIDs is the list of volumes attached to the instance.MachinePoolBuildertoBuilder()
-
-
-
Method Detail
-
getMemoryGiB
public Integer getMemoryGiB()
memoryGiB is the size of a virtual machine's memory, in GiB.
-
setMemoryGiB
public void setMemoryGiB(Integer memoryGiB)
memoryGiB is the size of a virtual machine's memory, in GiB.
-
getProcType
public String getProcType()
ProcType defines the processor sharing model for the instance. Must be one of {Capped, Dedicated, Shared}.
-
setProcType
public void setProcType(String procType)
ProcType defines the processor sharing model for the instance. Must be one of {Capped, Dedicated, Shared}.
-
getProcessors
public io.fabric8.kubernetes.api.model.IntOrString getProcessors()
MachinePool stores the configuration for a machine pool installed on IBM Power VS.
-
setProcessors
public void setProcessors(io.fabric8.kubernetes.api.model.IntOrString processors)
MachinePool stores the configuration for a machine pool installed on IBM Power VS.
-
getSmtLevel
public String getSmtLevel()
SMTLevel specifies the level of SMT to set the control plane and worker nodes to.
-
setSmtLevel
public void setSmtLevel(String smtLevel)
SMTLevel specifies the level of SMT to set the control plane and worker nodes to.
-
getSysType
public String getSysType()
SysType defines the system type for instance.
-
setSysType
public void setSysType(String sysType)
SysType defines the system type for instance.
-
getVolumeIDs
public List<String> getVolumeIDs()
VolumeIDs is the list of volumes attached to the instance.
-
setVolumeIDs
public void setVolumeIDs(List<String> volumeIDs)
VolumeIDs is the list of volumes attached to the instance.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-