Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.openstack.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 OpenStack.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(String flavor, RootVolume rootVolume)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFlavor()Flavor defines the OpenStack Nova flavor. eg. m1.large The json key here differs from the installer which uses both "computeFlavor" and type "type" depending on which type you're looking at, and the resulting field on the MachineSet is "flavor".RootVolumegetRootVolume()MachinePool stores the configuration for a machine pool installed on OpenStack.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFlavor(String flavor)Flavor defines the OpenStack Nova flavor. eg. m1.large The json key here differs from the installer which uses both "computeFlavor" and type "type" depending on which type you're looking at, and the resulting field on the MachineSet is "flavor".voidsetRootVolume(RootVolume rootVolume)MachinePool stores the configuration for a machine pool installed on OpenStack.MachinePoolBuildertoBuilder()
-
-
-
Constructor Detail
-
MachinePool
public MachinePool()
No args constructor for use in serialization
-
MachinePool
public MachinePool(String flavor, RootVolume rootVolume)
-
-
Method Detail
-
getFlavor
public String getFlavor()
Flavor defines the OpenStack Nova flavor. eg. m1.large The json key here differs from the installer which uses both "computeFlavor" and type "type" depending on which type you're looking at, and the resulting field on the MachineSet is "flavor". We are opting to stay consistent with the end result.
-
setFlavor
public void setFlavor(String flavor)
Flavor defines the OpenStack Nova flavor. eg. m1.large The json key here differs from the installer which uses both "computeFlavor" and type "type" depending on which type you're looking at, and the resulting field on the MachineSet is "flavor". We are opting to stay consistent with the end result.
-
getRootVolume
public RootVolume getRootVolume()
MachinePool stores the configuration for a machine pool installed on OpenStack.
-
setRootVolume
public void setRootVolume(RootVolume rootVolume)
MachinePool stores the configuration for a machine pool installed on OpenStack.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-