Class BasicDevice

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<BasicDeviceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BasicDevice
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BasicDeviceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    BasicDevice defines one device instance.
    See Also:
    Serialized Form
    • Method Detail

      • getAttributes

        public Map<String,​DeviceAttribute> 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.

      • setAttributes

        public void setAttributes​(Map<String,​DeviceAttribute> attributes)
        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.

      • getCapacity

        public Map<String,​DeviceCapacity> 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.

      • setCapacity

        public void setCapacity​(Map<String,​DeviceCapacity> capacity)
        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.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)