Class HorizontalPodAutoscalerStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2beta1.HorizontalPodAutoscalerStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HorizontalPodAutoscalerStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HorizontalPodAutoscalerStatus()No args constructor for use in serializationHorizontalPodAutoscalerStatus(List<HorizontalPodAutoscalerCondition> conditions, List<MetricStatus> currentMetrics, Integer currentReplicas, Integer desiredReplicas, String lastScaleTime, Long observedGeneration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HorizontalPodAutoscalerStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<HorizontalPodAutoscalerCondition>getConditions()conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.List<MetricStatus>getCurrentMetrics()currentMetrics is the last read state of the metrics used by this autoscaler.IntegergetCurrentReplicas()currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.IntegergetDesiredReplicas()desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.StringgetLastScaleTime()HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.LonggetObservedGeneration()observedGeneration is the most recent generation observed by this autoscaler.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<HorizontalPodAutoscalerCondition> conditions)conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.voidsetCurrentMetrics(List<MetricStatus> currentMetrics)currentMetrics is the last read state of the metrics used by this autoscaler.voidsetCurrentReplicas(Integer currentReplicas)currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.voidsetDesiredReplicas(Integer desiredReplicas)desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.voidsetLastScaleTime(String lastScaleTime)HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.voidsetObservedGeneration(Long observedGeneration)observedGeneration is the most recent generation observed by this autoscaler.HorizontalPodAutoscalerStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
HorizontalPodAutoscalerStatus
public HorizontalPodAutoscalerStatus()
No args constructor for use in serialization
-
HorizontalPodAutoscalerStatus
public HorizontalPodAutoscalerStatus(List<HorizontalPodAutoscalerCondition> conditions, List<MetricStatus> currentMetrics, Integer currentReplicas, Integer desiredReplicas, String lastScaleTime, Long observedGeneration)
-
-
Method Detail
-
getConditions
public List<HorizontalPodAutoscalerCondition> getConditions()
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
-
setConditions
public void setConditions(List<HorizontalPodAutoscalerCondition> conditions)
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
-
getCurrentMetrics
public List<MetricStatus> getCurrentMetrics()
currentMetrics is the last read state of the metrics used by this autoscaler.
-
setCurrentMetrics
public void setCurrentMetrics(List<MetricStatus> currentMetrics)
currentMetrics is the last read state of the metrics used by this autoscaler.
-
getCurrentReplicas
public Integer getCurrentReplicas()
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
-
setCurrentReplicas
public void setCurrentReplicas(Integer currentReplicas)
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
-
getDesiredReplicas
public Integer getDesiredReplicas()
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
-
setDesiredReplicas
public void setDesiredReplicas(Integer desiredReplicas)
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
-
getLastScaleTime
public String getLastScaleTime()
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
-
setLastScaleTime
public void setLastScaleTime(String lastScaleTime)
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration is the most recent generation observed by this autoscaler.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration is the most recent generation observed by this autoscaler.
-
edit
public HorizontalPodAutoscalerStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerStatusBuilder>
-
toBuilder
public HorizontalPodAutoscalerStatusBuilder toBuilder()
-
-