Class HorizontalPodAutoscalerBehavior
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.autoscaling.v2.HorizontalPodAutoscalerBehavior
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerBehaviorBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class HorizontalPodAutoscalerBehavior extends Object implements io.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerBehaviorBuilder>, io.fabric8.kubernetes.api.model.KubernetesResourceHorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description HorizontalPodAutoscalerBehavior()No args constructor for use in serializationHorizontalPodAutoscalerBehavior(HPAScalingRules scaleDown, HPAScalingRules scaleUp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HorizontalPodAutoscalerBehaviorBuilderedit()Map<String,Object>getAdditionalProperties()HPAScalingRulesgetScaleDown()HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).HPAScalingRulesgetScaleUp()HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetScaleDown(HPAScalingRules scaleDown)HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).voidsetScaleUp(HPAScalingRules scaleUp)HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).HorizontalPodAutoscalerBehaviorBuildertoBuilder()
-
-
-
Constructor Detail
-
HorizontalPodAutoscalerBehavior
public HorizontalPodAutoscalerBehavior()
No args constructor for use in serialization
-
HorizontalPodAutoscalerBehavior
public HorizontalPodAutoscalerBehavior(HPAScalingRules scaleDown, HPAScalingRules scaleUp)
-
-
Method Detail
-
getScaleDown
public HPAScalingRules getScaleDown()
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
-
setScaleDown
public void setScaleDown(HPAScalingRules scaleDown)
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
-
getScaleUp
public HPAScalingRules getScaleUp()
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
-
setScaleUp
public void setScaleUp(HPAScalingRules scaleUp)
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
-
edit
public HorizontalPodAutoscalerBehaviorBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<HorizontalPodAutoscalerBehaviorBuilder>
-
toBuilder
public HorizontalPodAutoscalerBehaviorBuilder toBuilder()
-
-