Class V1beta2DeviceCounterConsumption

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta2DeviceCounterConsumption

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1beta2DeviceCounterConsumption extends Object
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
  • Field Details

  • Constructor Details

  • Method Details

    • getCounterSet

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

      public void setCounterSet(String counterSet)
      Set the counterSet property value
      Parameters:
      counterSet - property value to set
    • counterSet

      public V1beta2DeviceCounterConsumption counterSet(String counterSet)
      Set counterSet in a chainable fashion.
      Returns:
      The same instance of V1beta2DeviceCounterConsumption for chaining.
    • getCounters

      public Map<String,@Valid V1beta2Counter> 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).
      Returns:
      the counters property value
    • setCounters

      public void setCounters(Map<String,@Valid V1beta2Counter> counters)
      Set the counters property value
      Parameters:
      counters - property value to set
    • counters

      public V1beta2DeviceCounterConsumption counters(Map<String,@Valid V1beta2Counter> counters)
      Set counters in a chainable fashion.
      Returns:
      The same instance of V1beta2DeviceCounterConsumption for chaining.
    • putCountersItem

      public V1beta2DeviceCounterConsumption putCountersItem(String key, V1beta2Counter countersItem)
      Set the value for the key for the counters map property in a chainable fashion.
      Returns:
      The same instance of V1beta2DeviceCounterConsumption for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object