Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.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 is a pool of machines to be installed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(String architecture, String hyperthreading, String name, MachinePoolPlatform platform, Long replicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()StringgetArchitecture()Architecture is the instruction set architecture of the machine pool.StringgetHyperthreading()Hyperthreading determines the mode of hyperthreading that machines in the pool will utilize.StringgetName()Name is the name of the machine pool.MachinePoolPlatformgetPlatform()MachinePool is a pool of machines to be installed.LonggetReplicas()Replicas is the machine count for the machine pool.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetArchitecture(String architecture)Architecture is the instruction set architecture of the machine pool.voidsetHyperthreading(String hyperthreading)Hyperthreading determines the mode of hyperthreading that machines in the pool will utilize.voidsetName(String name)Name is the name of the machine pool.voidsetPlatform(MachinePoolPlatform platform)MachinePool is a pool of machines to be installed.voidsetReplicas(Long replicas)Replicas is the machine count for the machine pool.MachinePoolBuildertoBuilder()
-
-
-
Constructor Detail
-
MachinePool
public MachinePool()
No args constructor for use in serialization
-
MachinePool
public MachinePool(String architecture, String hyperthreading, String name, MachinePoolPlatform platform, Long replicas)
-
-
Method Detail
-
getArchitecture
public String getArchitecture()
Architecture is the instruction set architecture of the machine pool. Defaults to amd64.
-
setArchitecture
public void setArchitecture(String architecture)
Architecture is the instruction set architecture of the machine pool. Defaults to amd64.
-
getHyperthreading
public String getHyperthreading()
Hyperthreading determines the mode of hyperthreading that machines in the pool will utilize. Default is for hyperthreading to be enabled.
-
setHyperthreading
public void setHyperthreading(String hyperthreading)
Hyperthreading determines the mode of hyperthreading that machines in the pool will utilize. Default is for hyperthreading to be enabled.
-
getName
public String getName()
Name is the name of the machine pool. For the control plane machine pool, the name will always be "master". For the compute machine pools, the only valid name is "worker".
-
setName
public void setName(String name)
Name is the name of the machine pool. For the control plane machine pool, the name will always be "master". For the compute machine pools, the only valid name is "worker".
-
getPlatform
public MachinePoolPlatform getPlatform()
MachinePool is a pool of machines to be installed.
-
setPlatform
public void setPlatform(MachinePoolPlatform platform)
MachinePool is a pool of machines to be installed.
-
getReplicas
public Long getReplicas()
Replicas is the machine count for the machine pool.
-
setReplicas
public void setReplicas(Long replicas)
Replicas is the machine count for the machine pool.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-