Class V2HorizontalPodAutoscalerBehavior
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V2HorizontalPodAutoscalerBehavior
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V2HorizontalPodAutoscalerBehavior
extends Object
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
scaleDown
(V2HPAScalingRules scaleDown) Set scaleDown in a chainable fashion.scaleUp
(V2HPAScalingRules scaleUp) Set scaleUp in a chainable fashion.void
setScaleDown
(V2HPAScalingRules scaleDown) Set the scaleDown property valuevoid
setScaleUp
(V2HPAScalingRules scaleUp) Set the scaleUp property valuetoString()
-
Field Details
-
JSON_PROPERTY_SCALE_DOWN
- See Also:
-
JSON_PROPERTY_SCALE_UP
- See Also:
-
-
Constructor Details
-
V2HorizontalPodAutoscalerBehavior
public V2HorizontalPodAutoscalerBehavior()
-
-
Method Details
-
getScaleDown
- Returns:
- the scaleDown property value
-
setScaleDown
Set the scaleDown property value- Parameters:
scaleDown
- property value to set
-
scaleDown
Set scaleDown in a chainable fashion.- Returns:
- The same instance of V2HorizontalPodAutoscalerBehavior for chaining.
-
getScaleUp
- Returns:
- the scaleUp property value
-
setScaleUp
Set the scaleUp property value- Parameters:
scaleUp
- property value to set
-
scaleUp
Set scaleUp in a chainable fashion.- Returns:
- The same instance of V2HorizontalPodAutoscalerBehavior for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-