Class CPU
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.CPU
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CPUBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CPU extends Object implements io.fabric8.kubernetes.api.builder.Editable<CPUBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
CPU describes one processor on the host.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPUBuilderedit()Map<String,Object>getAdditionalProperties()StringgetArch()CPU describes one processor on the host.DoublegetClockMegahertz()CPU describes one processor on the host.IntegergetCount()CPU describes one processor on the host.List<String>getFlags()CPU describes one processor on the host.StringgetModel()CPU describes one processor on the host.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetArch(String arch)CPU describes one processor on the host.voidsetClockMegahertz(Double clockMegahertz)CPU describes one processor on the host.voidsetCount(Integer count)CPU describes one processor on the host.voidsetFlags(List<String> flags)CPU describes one processor on the host.voidsetModel(String model)CPU describes one processor on the host.CPUBuildertoBuilder()
-
-
-
Method Detail
-
getArch
public String getArch()
CPU describes one processor on the host.
-
setArch
public void setArch(String arch)
CPU describes one processor on the host.
-
getClockMegahertz
public Double getClockMegahertz()
CPU describes one processor on the host.
-
setClockMegahertz
public void setClockMegahertz(Double clockMegahertz)
CPU describes one processor on the host.
-
getCount
public Integer getCount()
CPU describes one processor on the host.
-
setCount
public void setCount(Integer count)
CPU describes one processor on the host.
-
getModel
public String getModel()
CPU describes one processor on the host.
-
setModel
public void setModel(String model)
CPU describes one processor on the host.
-
edit
public CPUBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CPUBuilder>
-
toBuilder
public CPUBuilder toBuilder()
-
-