Class V1beta2CounterSet
java.lang.Object
io.kubernetes.client.openapi.models.V1beta2CounterSet
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-22T21:20:49.874193Z[Etc/UTC]")
public class V1beta2CounterSet
extends Object
CounterSet defines a named set of counters that are available to be used by devices defined in the ResourceSlice. The counters are not allocatable by themselves, but can be referenced by devices. When a device is allocated, the portion of counters it uses will no longer be available for use by other devices.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncounters
(Map<String, V1beta2Counter> counters) boolean
Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label.getName()
Name defines the name of the counter set.int
hashCode()
putCountersItem
(String key, V1beta2Counter countersItem) void
setCounters
(Map<String, V1beta2Counter> counters) void
toString()
-
Field Details
-
SERIALIZED_NAME_COUNTERS
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
-
Constructor Details
-
V1beta2CounterSet
public V1beta2CounterSet()
-
-
Method Details
-
counters
-
putCountersItem
-
getCounters
Counters defines the set of counters for this CounterSet The name of each counter must be unique in that set and must be a DNS label. The maximum number of counters in all sets is 32.- Returns:
- counters
-
setCounters
-
name
-
getName
Name defines the name of the counter set. It must be a DNS label.- Returns:
- name
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-