Class ConfigResourceCondition

    • Constructor Detail

      • ConfigResourceCondition

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

        public ConfigResourceCondition​(String lastTransitionTime,
                                       String message,
                                       Long observedGeneration,
                                       String reason,
                                       String status,
                                       String type)
    • Method Detail

      • getLastTransitionTime

        public String getLastTransitionTime()
        ConfigResourceCondition describes the status of configuration resources linked to Prometheus, PrometheusAgent, Alertmanager or ThanosRuler.
      • setLastTransitionTime

        public void setLastTransitionTime​(String lastTransitionTime)
        ConfigResourceCondition describes the status of configuration resources linked to Prometheus, PrometheusAgent, Alertmanager or ThanosRuler.
      • getMessage

        public String getMessage()
        message defines the human-readable message indicating details for the condition's last transition.
      • setMessage

        public void setMessage​(String message)
        message defines the human-readable message indicating details for the condition's last transition.
      • getObservedGeneration

        public Long getObservedGeneration()
        observedGeneration defines the .metadata.generation that the condition was set based upon. For instance, if `.metadata.generation` is currently 12, but the `.status.conditions[].observedGeneration` is 9, the condition is out of date with respect to the current state of the object.
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
        observedGeneration defines the .metadata.generation that the condition was set based upon. For instance, if `.metadata.generation` is currently 12, but the `.status.conditions[].observedGeneration` is 9, the condition is out of date with respect to the current state of the object.
      • getReason

        public String getReason()
        reason for the condition's last transition.
      • setReason

        public void setReason​(String reason)
        reason for the condition's last transition.
      • getStatus

        public String getStatus()
        status of the condition.
      • setStatus

        public void setStatus​(String status)
        status of the condition.
      • getType

        public String getType()
        type of the condition being reported. Currently, only "Accepted" is supported.
      • setType

        public void setType​(String type)
        type of the condition being reported. Currently, only "Accepted" is supported.
      • getAdditionalProperties

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

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

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