Class Condition
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConditionBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLastTransitionTime()Condition represents the state of the resources associated with the Prometheus, Alertmanager or ThanosRuler resource.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)Condition represents the state of the resources associated with the Prometheus, Alertmanager or ThanosRuler resource.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.ConditionBuildertoBuilder()
-
-
-
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.
-
edit
public ConditionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ConditionBuilder>
-
toBuilder
public ConditionBuilder toBuilder()
-
-