Class V1DeviceCounterConsumption

java.lang.Object
io.kubernetes.client.openapi.models.V1DeviceCounterConsumption

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-09-12T23:11:52.603861Z[Etc/UTC]") public class V1DeviceCounterConsumption extends Object
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
  • Field Details

  • Constructor Details

    • V1DeviceCounterConsumption

      public V1DeviceCounterConsumption()
  • Method Details

    • counterSet

      public V1DeviceCounterConsumption counterSet(String counterSet)
    • getCounterSet

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

      public void setCounterSet(String counterSet)
    • counters

      public V1DeviceCounterConsumption counters(Map<String,V1Counter> counters)
    • putCountersItem

      public V1DeviceCounterConsumption putCountersItem(String key, V1Counter countersItem)
    • getCounters

      public Map<String,V1Counter> 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:
      counters
    • setCounters

      public void setCounters(Map<String,V1Counter> counters)
    • 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