Class AttachMetadata

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class AttachMetadata
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<AttachMetadataBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    See Also:
    Serialized Form
    • Constructor Detail

      • AttachMetadata

        public AttachMetadata()
        No args constructor for use in serialization
      • AttachMetadata

        public AttachMetadata​(Boolean node)
    • Method Detail

      • getNode

        public Boolean getNode()
        When set to true, Prometheus attaches node metadata to the discovered targets.


        The Prometheus service account must have the `list` and `watch` permissions on the `Nodes` objects.

      • setNode

        public void setNode​(Boolean node)
        When set to true, Prometheus attaches node metadata to the discovered targets.


        The Prometheus service account must have the `list` and `watch` permissions on the `Nodes` objects.

      • getAdditionalProperties

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

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

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