Class V1alpha3DeviceCounterConsumption

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha3DeviceCounterConsumption 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 defines 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 V1alpha3DeviceCounterConsumption counterSet(String counterSet)
      Set counterSet in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceCounterConsumption for chaining.
    • getCounters

      public Map<String,@Valid V1alpha3Counter> getCounters()
      Counters defines the Counter 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 V1alpha3Counter> counters)
      Set the counters property value
      Parameters:
      counters - property value to set
    • counters

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

      public V1alpha3DeviceCounterConsumption putCountersItem(String key, V1alpha3Counter countersItem)
      Set the value for the key for the counters map property in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceCounterConsumption 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