Class V1beta1DeviceCounterConsumption
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1DeviceCounterConsumption
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1beta1DeviceCounterConsumption
extends Object
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncounters
(Map<String, V1beta1Counter> counters) counterSet
(String counterSet) boolean
Counters defines the counters that will be consumed by the device.CounterSet is the name of the set from which the counters defined will be consumed.int
hashCode()
putCountersItem
(String key, V1beta1Counter countersItem) void
setCounters
(Map<String, V1beta1Counter> counters) void
setCounterSet
(String counterSet) toString()
-
Field Details
-
SERIALIZED_NAME_COUNTER_SET
- See Also:
-
SERIALIZED_NAME_COUNTERS
- See Also:
-
-
Constructor Details
-
V1beta1DeviceCounterConsumption
public V1beta1DeviceCounterConsumption()
-
-
Method Details
-
counterSet
-
getCounterSet
CounterSet is the name of the set from which the counters defined will be consumed.- Returns:
- counterSet
-
setCounterSet
-
counters
-
putCountersItem
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-