Class V1alpha3BasicDevice
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3BasicDevice
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1alpha3BasicDevice
extends Object
BasicDevice defines one device instance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, @Valid V1alpha3DeviceAttribute> attributes) Set attributes in a chainable fashion.Set capacity in a chainable fashion.boolean
Map<String,
@Valid V1alpha3DeviceAttribute> Attributes defines the set of attributes for this device.Capacity defines the set of capacities for this device.int
hashCode()
putattributesItem
(String key, V1alpha3DeviceAttribute attributesItem) Set the value for the key for the attributes map property in a chainable fashion.putcapacityItem
(String key, String capacityItem) Set the value for the key for the capacity map property in a chainable fashion.void
setAttributes
(Map<String, @Valid V1alpha3DeviceAttribute> attributes) Set the attributes property valuevoid
setCapacity
(Map<String, @NotNull String> capacity) Set the capacity property valuetoString()
-
Field Details
-
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_CAPACITY
- See Also:
-
-
Constructor Details
-
V1alpha3BasicDevice
public V1alpha3BasicDevice()
-
-
Method Details
-
getAttributes
Attributes defines the set of attributes for this device. The name of each attribute must be unique in that set. The maximum number of attributes and capacities combined is 32.- Returns:
- the attributes property value
-
setAttributes
Set the attributes property value- Parameters:
attributes
- property value to set
-
attributes
Set attributes in a chainable fashion.- Returns:
- The same instance of V1alpha3BasicDevice for chaining.
-
putattributesItem
Set the value for the key for the attributes map property in a chainable fashion.- Returns:
- The same instance of V1alpha3BasicDevice for chaining.
-
getCapacity
Capacity defines the set of capacities for this device. The name of each capacity must be unique in that set. The maximum number of attributes and capacities combined is 32.- Returns:
- the capacity property value
-
setCapacity
Set the capacity property value- Parameters:
capacity
- property value to set
-
capacity
Set capacity in a chainable fashion.- Returns:
- The same instance of V1alpha3BasicDevice for chaining.
-
putcapacityItem
Set the value for the key for the capacity map property in a chainable fashion.- Returns:
- The same instance of V1alpha3BasicDevice for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-