@Generated(value="jsonschema2pojo") public class HorizontalPodAutoscalerSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerSpecBuilder>, 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 |
|---|---|
HorizontalPodAutoscalerSpecBuilder |
edit() |
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) |
HorizontalPodAutoscalerSpecBuilder |
toBuilder() |
public HorizontalPodAutoscalerSpec()
public HorizontalPodAutoscalerSpec(Integer maxReplicas, Integer minReplicas, CrossVersionObjectReference scaleTargetRef, Integer targetCPUUtilizationPercentage)
public Integer getMaxReplicas()
public void setMaxReplicas(Integer maxReplicas)
public Integer getMinReplicas()
public void setMinReplicas(Integer minReplicas)
public CrossVersionObjectReference getScaleTargetRef()
public void setScaleTargetRef(CrossVersionObjectReference scaleTargetRef)
public Integer getTargetCPUUtilizationPercentage()
public void setTargetCPUUtilizationPercentage(Integer targetCPUUtilizationPercentage)
public HorizontalPodAutoscalerSpecBuilder edit()
edit in interface io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerSpecBuilder>public HorizontalPodAutoscalerSpecBuilder toBuilder()
Copyright © 2015–2023 Red Hat. All rights reserved.