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 Details

  • Constructor Details

    • V1alpha3BasicDevice

      public V1alpha3BasicDevice()
  • Method Details

    • getAttributes

      public Map<String,@Valid V1alpha3DeviceAttribute> 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

      public void setAttributes(Map<String,@Valid V1alpha3DeviceAttribute> attributes)
      Set the attributes property value
      Parameters:
      attributes - property value to set
    • attributes

      public V1alpha3BasicDevice attributes(Map<String,@Valid V1alpha3DeviceAttribute> attributes)
      Set attributes in a chainable fashion.
      Returns:
      The same instance of V1alpha3BasicDevice for chaining.
    • putattributesItem

      public V1alpha3BasicDevice putattributesItem(String key, V1alpha3DeviceAttribute attributesItem)
      Set the value for the key for the attributes map property in a chainable fashion.
      Returns:
      The same instance of V1alpha3BasicDevice for chaining.
    • getCapacity

      public Map<String,@NotNull String> 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

      public void setCapacity(Map<String,@NotNull String> capacity)
      Set the capacity property value
      Parameters:
      capacity - property value to set
    • capacity

      public V1alpha3BasicDevice capacity(Map<String,@NotNull String> capacity)
      Set capacity in a chainable fashion.
      Returns:
      The same instance of V1alpha3BasicDevice for chaining.
    • putcapacityItem

      public V1alpha3BasicDevice putcapacityItem(String key, String capacityItem)
      Set the value for the key for the capacity map property in a chainable fashion.
      Returns:
      The same instance of V1alpha3BasicDevice for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object