Class ConfigResourceCondition
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.ConfigResourceCondition
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ConfigResourceConditionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ConfigResourceCondition extends Object implements io.fabric8.kubernetes.api.builder.Editable<ConfigResourceConditionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ConfigResourceCondition describes the status of configuration resources linked to Prometheus, PrometheusAgent, Alertmanager, or ThanosRuler.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigResourceCondition()No args constructor for use in serializationConfigResourceCondition(String lastTransitionTime, String message, Long observedGeneration, String reason, String status, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigResourceConditionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLastTransitionTime()ConfigResourceCondition describes the status of configuration resources linked to Prometheus, PrometheusAgent, Alertmanager, or ThanosRuler.StringgetMessage()Human-readable message indicating details for the condition's last transition.LonggetObservedGeneration()ObservedGeneration represents the .metadata.generation that the condition was set based upon.StringgetReason()Reason for the condition's last transition.StringgetStatus()Status of the condition.StringgetType()Type of the condition being reported.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLastTransitionTime(String lastTransitionTime)ConfigResourceCondition describes the status of configuration resources linked to Prometheus, PrometheusAgent, Alertmanager, or ThanosRuler.voidsetMessage(String message)Human-readable message indicating details for the condition's last transition.voidsetObservedGeneration(Long observedGeneration)ObservedGeneration represents the .metadata.generation that the condition was set based upon.voidsetReason(String reason)Reason for the condition's last transition.voidsetStatus(String status)Status of the condition.voidsetType(String type)Type of the condition being reported.ConfigResourceConditionBuildertoBuilder()
-
-
-
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()
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 object.
-
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 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.
-
edit
public ConfigResourceConditionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConfigResourceConditionBuilder>
-
toBuilder
public ConfigResourceConditionBuilder toBuilder()
-
-