Class V1DeviceCounterConsumption
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1DeviceCounterConsumption
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1DeviceCounterConsumption
extends Object
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionV1DeviceCounterConsumption(String counterSet, Map<String, @Valid V1Counter> counters) -
Method Summary
Modifier and TypeMethodDescriptionSet counters in a chainable fashion.counterSet(String counterSet) Set counterSet in a chainable fashion.booleanCounters 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.inthashCode()putCountersItem(String key, V1Counter countersItem) Set the value for the key for the counters map property in a chainable fashion.voidsetCounters(Map<String, @Valid V1Counter> counters) Set the counters property valuevoidsetCounterSet(String counterSet) Set the counterSet property valuetoString()
-
Field Details
-
JSON_PROPERTY_COUNTER_SET
- See Also:
-
JSON_PROPERTY_COUNTERS
- See Also:
-
-
Constructor Details
-
V1DeviceCounterConsumption
-
-
Method Details
-
getCounterSet
CounterSet is the name of the set from which the counters defined will be consumed.- Returns:
- the counterSet property value
-
setCounterSet
Set the counterSet property value- Parameters:
counterSet- property value to set
-
counterSet
Set counterSet in a chainable fashion.- Returns:
- The same instance of V1DeviceCounterConsumption for chaining.
-
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
-
counters
Set counters in a chainable fashion.- Returns:
- The same instance of V1DeviceCounterConsumption for chaining.
-
putCountersItem
Set the value for the key for the counters map property in a chainable fashion.- Returns:
- The same instance of V1DeviceCounterConsumption for chaining.
-
equals
-
hashCode
-
toString
-