Class 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
    • Constructor Detail

      • CPU

        public CPU()
        No args constructor for use in serialization
    • 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.
      • getFlags

        public List<String> getFlags()
        CPU describes one processor on the host.
      • setFlags

        public void setFlags​(List<String> flags)
        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:
        edit in interface io.fabric8.kubernetes.api.builder.Editable<CPUBuilder>
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)