Class Condition

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class Condition
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    Condition represents the state of the resources associated with the Prometheus, Alertmanager or ThanosRuler resource.
    See Also:
    Serialized Form
    • Constructor Detail

      • Condition

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

      • getLastTransitionTime

        public String getLastTransitionTime()
        Condition represents the state of the resources associated with the Prometheus, Alertmanager or ThanosRuler resource.
      • setLastTransitionTime

        public void setLastTransitionTime​(String lastTransitionTime)
        Condition represents the state of the resources associated with the Prometheus, Alertmanager or ThanosRuler resource.
      • getMessage

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

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

        public Long getObservedGeneration()
        ObservedGeneration represents 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 instance.
      • setObservedGeneration

        public void setObservedGeneration​(Long observedGeneration)
        ObservedGeneration represents 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 instance.
      • 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.
      • setType

        public void setType​(String type)
        Type of the condition being reported.
      • getAdditionalProperties

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

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

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