Class DeviceCounterConsumption
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1.DeviceCounterConsumption
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DeviceCounterConsumptionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceCounterConsumption extends Object implements io.fabric8.kubernetes.api.builder.Editable<DeviceCounterConsumptionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
DeviceCounterConsumption defines a set of counters that a device will consume from a CounterSet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceCounterConsumption()No args constructor for use in serializationDeviceCounterConsumption(String counterSet, Map<String,Counter> counters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceCounterConsumptionBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,Counter>getCounters()Counters defines the counters that will be consumed by the device.StringgetCounterSet()CounterSet is the name of the set from which the counters defined will be consumed.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCounters(Map<String,Counter> counters)Counters defines the counters that will be consumed by the device.voidsetCounterSet(String counterSet)CounterSet is the name of the set from which the counters defined will be consumed.DeviceCounterConsumptionBuildertoBuilder()
-
-
-
Method Detail
-
getCounterSet
public String getCounterSet()
CounterSet is the name of the set from which the counters defined will be consumed.
-
setCounterSet
public void setCounterSet(String counterSet)
CounterSet is the name of the set from which the counters defined will be consumed.
-
getCounters
public Map<String,Counter> 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).
-
setCounters
public void setCounters(Map<String,Counter> counters)
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).
-
edit
public DeviceCounterConsumptionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DeviceCounterConsumptionBuilder>
-
toBuilder
public DeviceCounterConsumptionBuilder toBuilder()
-
-