Class V1alpha3DeviceCounterConsumption
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceCounterConsumption
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1alpha3DeviceCounterConsumption
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, V1alpha3Counter> counters) counterSet(String counterSet) booleanCounters defines the Counter that will be consumed by the device.CounterSet defines the set from which the counters defined will be consumed.inthashCode()putCountersItem(String key, V1alpha3Counter countersItem) voidsetCounters(Map<String, V1alpha3Counter> counters) voidsetCounterSet(String counterSet) toString()
-
Field Details
-
SERIALIZED_NAME_COUNTER_SET
- See Also:
-
SERIALIZED_NAME_COUNTERS
- See Also:
-
-
Constructor Details
-
V1alpha3DeviceCounterConsumption
public V1alpha3DeviceCounterConsumption()
-
-
Method Details
-
counterSet
-
getCounterSet
CounterSet defines the set from which the counters defined will be consumed.- Returns:
- counterSet
-
setCounterSet
-
counters
-
putCountersItem
-
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:
- counters
-
setCounters
-
equals
-
hashCode
public int hashCode() -
toString
-