Class V1alpha3DeviceCounterConsumption
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3DeviceCounterConsumption
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3DeviceCounterConsumption
extends Object
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionV1alpha3DeviceCounterConsumption
(String counterSet, Map<String, @Valid V1alpha3Counter> counters) -
Method Summary
Modifier and TypeMethodDescriptioncounters
(Map<String, @Valid V1alpha3Counter> counters) Set counters in a chainable fashion.counterSet
(String counterSet) Set counterSet in a chainable fashion.boolean
Map<String,
@Valid V1alpha3Counter> Counters defines the Counter that will be consumed by the device.CounterSet defines the set from which the counters defined will be consumed.int
hashCode()
putCountersItem
(String key, V1alpha3Counter countersItem) Set the value for the key for the counters map property in a chainable fashion.void
setCounters
(Map<String, @Valid V1alpha3Counter> 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
-
V1alpha3DeviceCounterConsumption
public V1alpha3DeviceCounterConsumption(String counterSet, Map<String, @Valid V1alpha3Counter> counters)
-
-
Method Details
-
getCounterSet
CounterSet defines 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 V1alpha3DeviceCounterConsumption for chaining.
-
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:
- 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 V1alpha3DeviceCounterConsumption for chaining.
-
putCountersItem
Set the value for the key for the counters map property in a chainable fashion.- Returns:
- The same instance of V1alpha3DeviceCounterConsumption for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-