@Generated(value="org.jsonschema2pojo") public class HorizontalPodAutoscalerSpec extends Object implements KubernetesResource
Constructor and Description |
---|
HorizontalPodAutoscalerSpec()
No args constructor for use in serialization
|
HorizontalPodAutoscalerSpec(Integer maxReplicas,
List<MetricSpec> metrics,
Integer minReplicas,
CrossVersionObjectReference scaleTargetRef) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAdditionalProperties() |
Integer |
getMaxReplicas() |
List<MetricSpec> |
getMetrics() |
Integer |
getMinReplicas() |
CrossVersionObjectReference |
getScaleTargetRef() |
void |
setAdditionalProperty(String name,
Object value) |
void |
setMaxReplicas(Integer maxReplicas) |
void |
setMetrics(List<MetricSpec> metrics) |
void |
setMinReplicas(Integer minReplicas) |
void |
setScaleTargetRef(CrossVersionObjectReference scaleTargetRef) |
public HorizontalPodAutoscalerSpec()
public HorizontalPodAutoscalerSpec(Integer maxReplicas, List<MetricSpec> metrics, Integer minReplicas, CrossVersionObjectReference scaleTargetRef)
maxReplicas
- minReplicas
- metrics
- scaleTargetRef
- public Integer getMaxReplicas()
public void setMaxReplicas(Integer maxReplicas)
maxReplicas
- The maxReplicaspublic List<MetricSpec> getMetrics()
public void setMetrics(List<MetricSpec> metrics)
metrics
- The metricspublic Integer getMinReplicas()
public void setMinReplicas(Integer minReplicas)
minReplicas
- The minReplicaspublic CrossVersionObjectReference getScaleTargetRef()
public void setScaleTargetRef(CrossVersionObjectReference scaleTargetRef)
scaleTargetRef
- The scaleTargetRefCopyright © 2015–2018 Red Hat. All rights reserved.