Package net.stickycode.kuuty.model.v18
Class IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus extends Object
current status of a horizontal pod autoscaler
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CURRENT_C_P_U_UTILIZATION_PERCENTAGEstatic StringJSON_PROPERTY_CURRENT_REPLICASstatic StringJSON_PROPERTY_DESIRED_REPLICASstatic StringJSON_PROPERTY_LAST_SCALE_TIMEstatic StringJSON_PROPERTY_OBSERVED_GENERATION
-
Constructor Summary
Constructors Constructor Description IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_CURRENT_C_P_U_UTILIZATION_PERCENTAGE
public static final String JSON_PROPERTY_CURRENT_C_P_U_UTILIZATION_PERCENTAGE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CURRENT_REPLICAS
public static final String JSON_PROPERTY_CURRENT_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESIRED_REPLICAS
public static final String JSON_PROPERTY_DESIRED_REPLICAS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_SCALE_TIME
public static final String JSON_PROPERTY_LAST_SCALE_TIME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OBSERVED_GENERATION
public static final String JSON_PROPERTY_OBSERVED_GENERATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
currentCPUUtilizationPercentage
public IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus currentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
-
getCurrentCPUUtilizationPercentage
@Nullable public Integer getCurrentCPUUtilizationPercentage()
current average CPU utilization over all pods, represented as a percentage of requested CPU, e.g. 70 means that an average pod is using now 70% of its requested CPU.- Returns:
- currentCPUUtilizationPercentage
-
setCurrentCPUUtilizationPercentage
public void setCurrentCPUUtilizationPercentage(Integer currentCPUUtilizationPercentage)
-
currentReplicas
public IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus currentReplicas(Integer currentReplicas)
-
getCurrentReplicas
public Integer getCurrentReplicas()
current number of replicas of pods managed by this autoscaler.- Returns:
- currentReplicas
-
setCurrentReplicas
public void setCurrentReplicas(Integer currentReplicas)
-
desiredReplicas
public IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus desiredReplicas(Integer desiredReplicas)
-
getDesiredReplicas
public Integer getDesiredReplicas()
desired number of replicas of pods managed by this autoscaler.- Returns:
- desiredReplicas
-
setDesiredReplicas
public void setDesiredReplicas(Integer desiredReplicas)
-
lastScaleTime
public IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus lastScaleTime(OffsetDateTime lastScaleTime)
-
getLastScaleTime
@Nullable public OffsetDateTime getLastScaleTime()
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.- Returns:
- lastScaleTime
-
setLastScaleTime
public void setLastScaleTime(OffsetDateTime lastScaleTime)
-
observedGeneration
public IoK8sApiAutoscalingV1HorizontalPodAutoscalerStatus observedGeneration(Long observedGeneration)
-
getObservedGeneration
@Nullable public Long getObservedGeneration()
most recent generation observed by this autoscaler.- Returns:
- observedGeneration
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
-
-