@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V2beta1HorizontalPodAutoscalerSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MAX_REPLICAS |
static String |
SERIALIZED_NAME_METRICS |
static String |
SERIALIZED_NAME_MIN_REPLICAS |
static String |
SERIALIZED_NAME_SCALE_TARGET_REF |
Constructor and Description |
---|
V2beta1HorizontalPodAutoscalerSpec() |
public static final String SERIALIZED_NAME_MAX_REPLICAS
public static final String SERIALIZED_NAME_METRICS
public static final String SERIALIZED_NAME_MIN_REPLICAS
public static final String SERIALIZED_NAME_SCALE_TARGET_REF
public V2beta1HorizontalPodAutoscalerSpec maxReplicas(Integer maxReplicas)
public Integer getMaxReplicas()
public void setMaxReplicas(Integer maxReplicas)
public V2beta1HorizontalPodAutoscalerSpec metrics(List<V2beta1MetricSpec> metrics)
public V2beta1HorizontalPodAutoscalerSpec addMetricsItem(V2beta1MetricSpec metricsItem)
@Nullable public List<V2beta1MetricSpec> getMetrics()
public void setMetrics(List<V2beta1MetricSpec> metrics)
public V2beta1HorizontalPodAutoscalerSpec minReplicas(Integer minReplicas)
@Nullable public Integer getMinReplicas()
public void setMinReplicas(Integer minReplicas)
public V2beta1HorizontalPodAutoscalerSpec scaleTargetRef(V2beta1CrossVersionObjectReference scaleTargetRef)
public V2beta1CrossVersionObjectReference getScaleTargetRef()
public void setScaleTargetRef(V2beta1CrossVersionObjectReference scaleTargetRef)
Copyright © 2021. All rights reserved.