Class V1beta1DeviceCounterConsumption
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta1DeviceCounterConsumption
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1beta1DeviceCounterConsumption
extends Object
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionV1beta1DeviceCounterConsumption
(String counterSet, Map<String, @Valid V1beta1Counter> counters) -
Method Summary
Modifier and TypeMethodDescriptioncounters
(Map<String, @Valid V1beta1Counter> counters) Set counters in a chainable fashion.counterSet
(String counterSet) Set counterSet in a chainable fashion.boolean
Map<String,
@Valid V1beta1Counter> 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) Set the value for the key for the counters map property in a chainable fashion.void
setCounters
(Map<String, @Valid V1beta1Counter> counters) Set the counters property valuevoid
setCounterSet
(String counterSet) Set the counterSet property valuetoString()
-
Field Details
-
JSON_PROPERTY_COUNTER_SET
- See Also:
-
JSON_PROPERTY_COUNTERS
- See Also:
-
-
Constructor Details
-
V1beta1DeviceCounterConsumption
public V1beta1DeviceCounterConsumption(String counterSet, Map<String, @Valid V1beta1Counter> counters)
-
-
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 V1beta1DeviceCounterConsumption 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
Set the counters property value- Parameters:
counters
- property value to set
-
counters
Set counters in a chainable fashion.- Returns:
- The same instance of V1beta1DeviceCounterConsumption for chaining.
-
putCountersItem
Set the value for the key for the counters map property in a chainable fashion.- Returns:
- The same instance of V1beta1DeviceCounterConsumption for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-