Class ObjectReference

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class ObjectReference
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ObjectReferenceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    ObjectReference references a PodMonitor, ServiceMonitor, Probe or PrometheusRule object.
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectReference

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

      • getGroup

        public String getGroup()
        Group of the referent. When not specified, it defaults to `monitoring.coreos.com`
      • setGroup

        public void setGroup​(String group)
        Group of the referent. When not specified, it defaults to `monitoring.coreos.com`
      • getName

        public String getName()
        Name of the referent. When not set, all resources in the namespace are matched.
      • setName

        public void setName​(String name)
        Name of the referent. When not set, all resources in the namespace are matched.
      • getNamespace

        public String getNamespace()
        Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
      • setNamespace

        public void setNamespace​(String namespace)
        Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
      • getResource

        public String getResource()
        Resource of the referent.
      • setResource

        public void setResource​(String resource)
        Resource of the referent.
      • getAdditionalProperties

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

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

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