Class PrometheusStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.PrometheusStatus
-
- All Implemented Interfaces:
Editable<PrometheusStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrometheusStatus extends Object implements Editable<PrometheusStatusBuilder>, KubernetesResource
PrometheusStatus is the most recent observed status of the Prometheus cluster. 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 PrometheusStatus()No args constructor for use in serializationPrometheusStatus(Integer availableReplicas, List<Condition> conditions, Boolean paused, Integer replicas, String selector, List<ShardStatus> shardStatuses, Integer shards, Integer unavailableReplicas, Integer updatedReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.List<Condition>getConditions()conditions defines the current state of the Prometheus deployment.BooleangetPaused()paused defines whether any actions on the underlying managed objects are being performed.IntegergetReplicas()replicas defines the total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).StringgetSelector()selector used to match the pods targeted by this Prometheus resource.IntegergetShards()shards defines the most recently observed number of shards.List<ShardStatus>getShardStatuses()shardStatuses defines the list has one entry per shard.IntegergetUnavailableReplicas()unavailableReplicas defines the total number of unavailable pods targeted by this Prometheus deployment.IntegergetUpdatedReplicas()updatedReplicas defines the total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.voidsetConditions(List<Condition> conditions)conditions defines the current state of the Prometheus deployment.voidsetPaused(Boolean paused)paused defines whether any actions on the underlying managed objects are being performed.voidsetReplicas(Integer replicas)replicas defines the total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).voidsetSelector(String selector)selector used to match the pods targeted by this Prometheus resource.voidsetShards(Integer shards)shards defines the most recently observed number of shards.voidsetShardStatuses(List<ShardStatus> shardStatuses)shardStatuses defines the list has one entry per shard.voidsetUnavailableReplicas(Integer unavailableReplicas)unavailableReplicas defines the total number of unavailable pods targeted by this Prometheus deployment.voidsetUpdatedReplicas(Integer updatedReplicas)updatedReplicas defines the total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.PrometheusStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
availableReplicas defines the total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.
-
getConditions
public List<Condition> getConditions()
conditions defines the current state of the Prometheus deployment.
-
setConditions
public void setConditions(List<Condition> conditions)
conditions defines the current state of the Prometheus deployment.
-
getPaused
public Boolean getPaused()
paused defines whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
-
setPaused
public void setPaused(Boolean paused)
paused defines whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
-
getReplicas
public Integer getReplicas()
replicas defines the total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).
-
setReplicas
public void setReplicas(Integer replicas)
replicas defines the total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).
-
getSelector
public String getSelector()
selector used to match the pods targeted by this Prometheus resource.
-
setSelector
public void setSelector(String selector)
selector used to match the pods targeted by this Prometheus resource.
-
getShardStatuses
public List<ShardStatus> getShardStatuses()
shardStatuses defines the list has one entry per shard. Each entry provides a summary of the shard status.
-
setShardStatuses
public void setShardStatuses(List<ShardStatus> shardStatuses)
shardStatuses defines the list has one entry per shard. Each entry provides a summary of the shard status.
-
getShards
public Integer getShards()
shards defines the most recently observed number of shards.
-
setShards
public void setShards(Integer shards)
shards defines the most recently observed number of shards.
-
getUnavailableReplicas
public Integer getUnavailableReplicas()
unavailableReplicas defines the total number of unavailable pods targeted by this Prometheus deployment.
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
unavailableReplicas defines the total number of unavailable pods targeted by this Prometheus deployment.
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
updatedReplicas defines the total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
updatedReplicas defines the total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.
-
edit
public PrometheusStatusBuilder edit()
- Specified by:
editin interfaceEditable<PrometheusStatusBuilder>
-
toBuilder
public PrometheusStatusBuilder toBuilder()
-
-