Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.ibmcloud.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 Cloud.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(BootVolume bootVolume, List<DedicatedHost> dedicatedHosts, String type, List<String> zones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()BootVolumegetBootVolume()MachinePool stores the configuration for a machine pool installed on IBM Cloud.List<DedicatedHost>getDedicatedHosts()DedicatedHosts is the configuration for the machine's dedicated host and profile.StringgetType()InstanceType is the VSI machine profile.List<String>getZones()Zones is the list of availability zones used for machines in the pool.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetBootVolume(BootVolume bootVolume)MachinePool stores the configuration for a machine pool installed on IBM Cloud.voidsetDedicatedHosts(List<DedicatedHost> dedicatedHosts)DedicatedHosts is the configuration for the machine's dedicated host and profile.voidsetType(String type)InstanceType is the VSI machine profile.voidsetZones(List<String> zones)Zones is the list of availability zones used for machines in the pool.MachinePoolBuildertoBuilder()
-
-
-
Constructor Detail
-
MachinePool
public MachinePool()
No args constructor for use in serialization
-
MachinePool
public MachinePool(BootVolume bootVolume, List<DedicatedHost> dedicatedHosts, String type, List<String> zones)
-
-
Method Detail
-
getBootVolume
public BootVolume getBootVolume()
MachinePool stores the configuration for a machine pool installed on IBM Cloud.
-
setBootVolume
public void setBootVolume(BootVolume bootVolume)
MachinePool stores the configuration for a machine pool installed on IBM Cloud.
-
getDedicatedHosts
public List<DedicatedHost> getDedicatedHosts()
DedicatedHosts is the configuration for the machine's dedicated host and profile.
-
setDedicatedHosts
public void setDedicatedHosts(List<DedicatedHost> dedicatedHosts)
DedicatedHosts is the configuration for the machine's dedicated host and profile.
-
getType
public String getType()
InstanceType is the VSI machine profile.
-
setType
public void setType(String type)
InstanceType is the VSI machine profile.
-
getZones
public List<String> getZones()
Zones is the list of availability zones used for machines in the pool.
-
setZones
public void setZones(List<String> zones)
Zones is the list of availability zones used for machines in the pool.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-