Class Device

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Device
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DeviceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
    See Also:
    Serialized Form
    • Constructor Detail

      • Device

        public Device()
        No args constructor for use in serialization
    • Method Detail

      • getBasic

        public BasicDevice getBasic()
        Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
      • setBasic

        public void setBasic​(BasicDevice basic)
        Device represents one individual hardware instance that can be selected based on its attributes. Besides the name, exactly one field must be set.
      • getName

        public String getName()
        Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
      • setName

        public void setName​(String name)
        Name is unique identifier among all devices managed by the driver in the pool. It must be a DNS label.
      • getAdditionalProperties

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

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

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