Class AlertmanagerStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AlertmanagerStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlertmanagerStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<AlertmanagerStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
AlertmanagerStatus is the most recent observed status of the Alertmanager cluster. Read-only. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertmanagerStatus()No args constructor for use in serializationAlertmanagerStatus(Integer availableReplicas, List<Condition> conditions, Boolean paused, Integer replicas, String selector, Integer unavailableReplicas, Integer updatedReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertmanagerStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this Alertmanager cluster.List<Condition>getConditions()The current state of the Alertmanager object.BooleangetPaused()Represents whether any actions on the underlying managed objects are being performed.IntegergetReplicas()Total number of non-terminated pods targeted by this Alertmanager object (their labels match the selector).StringgetSelector()The selector used to match the pods targeted by this Alertmanager object.IntegergetUnavailableReplicas()Total number of unavailable pods targeted by this Alertmanager object.IntegergetUpdatedReplicas()Total number of non-terminated pods targeted by this Alertmanager object that have the desired version spec.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)Total number of available pods (ready for at least minReadySeconds) targeted by this Alertmanager cluster.voidsetConditions(List<Condition> conditions)The current state of the Alertmanager object.voidsetPaused(Boolean paused)Represents whether any actions on the underlying managed objects are being performed.voidsetReplicas(Integer replicas)Total number of non-terminated pods targeted by this Alertmanager object (their labels match the selector).voidsetSelector(String selector)The selector used to match the pods targeted by this Alertmanager object.voidsetUnavailableReplicas(Integer unavailableReplicas)Total number of unavailable pods targeted by this Alertmanager object.voidsetUpdatedReplicas(Integer updatedReplicas)Total number of non-terminated pods targeted by this Alertmanager object that have the desired version spec.AlertmanagerStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this Alertmanager cluster.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
Total number of available pods (ready for at least minReadySeconds) targeted by this Alertmanager cluster.
-
setConditions
public void setConditions(List<Condition> conditions)
The current state of the Alertmanager object.
-
getPaused
public Boolean getPaused()
Represents whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
-
setPaused
public void setPaused(Boolean paused)
Represents whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
-
getReplicas
public Integer getReplicas()
Total number of non-terminated pods targeted by this Alertmanager object (their labels match the selector).
-
setReplicas
public void setReplicas(Integer replicas)
Total number of non-terminated pods targeted by this Alertmanager object (their labels match the selector).
-
getSelector
public String getSelector()
The selector used to match the pods targeted by this Alertmanager object.
-
setSelector
public void setSelector(String selector)
The selector used to match the pods targeted by this Alertmanager object.
-
getUnavailableReplicas
public Integer getUnavailableReplicas()
Total number of unavailable pods targeted by this Alertmanager object.
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
Total number of unavailable pods targeted by this Alertmanager object.
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
Total number of non-terminated pods targeted by this Alertmanager object that have the desired version spec.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
Total number of non-terminated pods targeted by this Alertmanager object that have the desired version spec.
-
edit
public AlertmanagerStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AlertmanagerStatusBuilder>
-
toBuilder
public AlertmanagerStatusBuilder toBuilder()
-
-