@Generated(value="org.jsonschema2pojo") public class HorizontalPodAutoscalerSpec extends Object implements io.fabric8.kubernetes.api.model.KubernetesResource
| Constructor and Description |
|---|
HorizontalPodAutoscalerSpec()
No args constructor for use in serialization
|
HorizontalPodAutoscalerSpec(Integer maxReplicas,
Integer minReplicas,
CrossVersionObjectReference scaleTargetRef,
Integer targetCPUUtilizationPercentage) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
Integer |
getMaxReplicas() |
Integer |
getMinReplicas() |
CrossVersionObjectReference |
getScaleTargetRef() |
Integer |
getTargetCPUUtilizationPercentage() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setMaxReplicas(Integer maxReplicas) |
void |
setMinReplicas(Integer minReplicas) |
void |
setScaleTargetRef(CrossVersionObjectReference scaleTargetRef) |
void |
setTargetCPUUtilizationPercentage(Integer targetCPUUtilizationPercentage) |
public HorizontalPodAutoscalerSpec()
public HorizontalPodAutoscalerSpec(Integer maxReplicas, Integer minReplicas, CrossVersionObjectReference scaleTargetRef, Integer targetCPUUtilizationPercentage)
maxReplicas - minReplicas - targetCPUUtilizationPercentage - scaleTargetRef - public Integer getMaxReplicas()
public void setMaxReplicas(Integer maxReplicas)
maxReplicas - The maxReplicaspublic Integer getMinReplicas()
public void setMinReplicas(Integer minReplicas)
minReplicas - The minReplicaspublic CrossVersionObjectReference getScaleTargetRef()
public void setScaleTargetRef(CrossVersionObjectReference scaleTargetRef)
scaleTargetRef - The scaleTargetRefpublic Integer getTargetCPUUtilizationPercentage()
public void setTargetCPUUtilizationPercentage(Integer targetCPUUtilizationPercentage)
targetCPUUtilizationPercentage - The targetCPUUtilizationPercentageCopyright © 2015–2020 Red Hat. All rights reserved.