Class DeviceCounterConsumption

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<DeviceCounterConsumptionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DeviceCounterConsumption
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DeviceCounterConsumptionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
    See Also:
    Serialized Form
    • Constructor Detail

      • DeviceCounterConsumption

        public DeviceCounterConsumption()
        No args constructor for use in serialization
      • DeviceCounterConsumption

        public DeviceCounterConsumption​(String counterSet,
                                        Map<String,​Counter> counters)
    • Method Detail

      • getCounterSet

        public String getCounterSet()
        CounterSet is the name of the set from which the counters defined will be consumed.
      • setCounterSet

        public void setCounterSet​(String counterSet)
        CounterSet is the name of the set from which the counters defined will be consumed.
      • getCounters

        public Map<String,​Counter> getCounters()
        Counters defines the counters that will be consumed by the device.


        The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).

      • setCounters

        public void setCounters​(Map<String,​Counter> counters)
        Counters defines the counters that will be consumed by the device.


        The maximum number counters in a device is 32. In addition, the maximum number of all counters in all devices is 1024 (for example, 64 devices with 16 counters each).

      • getAdditionalProperties

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

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

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