Class HorizontalPodAutoscalerBehaviorPatchArgs.Builder
- java.lang.Object
-
- com.pulumi.kubernetes.autoscaling.v2.inputs.HorizontalPodAutoscalerBehaviorPatchArgs.Builder
-
- Enclosing class:
- HorizontalPodAutoscalerBehaviorPatchArgs
public static final class HorizontalPodAutoscalerBehaviorPatchArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(HorizontalPodAutoscalerBehaviorPatchArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HorizontalPodAutoscalerBehaviorPatchArgs
build()
HorizontalPodAutoscalerBehaviorPatchArgs.Builder
scaleDown(com.pulumi.core.Output<HPAScalingRulesPatchArgs> scaleDown)
HorizontalPodAutoscalerBehaviorPatchArgs.Builder
scaleDown(HPAScalingRulesPatchArgs scaleDown)
HorizontalPodAutoscalerBehaviorPatchArgs.Builder
scaleUp(com.pulumi.core.Output<HPAScalingRulesPatchArgs> scaleUp)
HorizontalPodAutoscalerBehaviorPatchArgs.Builder
scaleUp(HPAScalingRulesPatchArgs scaleUp)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(HorizontalPodAutoscalerBehaviorPatchArgs defaults)
-
-
Method Detail
-
scaleDown
public HorizontalPodAutoscalerBehaviorPatchArgs.Builder scaleDown(@Nullable com.pulumi.core.Output<HPAScalingRulesPatchArgs> scaleDown)
- Parameters:
scaleDown
- scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).- Returns:
- builder
-
scaleDown
public HorizontalPodAutoscalerBehaviorPatchArgs.Builder scaleDown(HPAScalingRulesPatchArgs scaleDown)
- Parameters:
scaleDown
- scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).- Returns:
- builder
-
scaleUp
public HorizontalPodAutoscalerBehaviorPatchArgs.Builder scaleUp(@Nullable com.pulumi.core.Output<HPAScalingRulesPatchArgs> scaleUp)
- Parameters:
scaleUp
- scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used.- Returns:
- builder
-
scaleUp
public HorizontalPodAutoscalerBehaviorPatchArgs.Builder scaleUp(HPAScalingRulesPatchArgs scaleUp)
- Parameters:
scaleUp
- scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of: * increase no more than 4 pods per 60 seconds * double the number of pods per 60 seconds No stabilization is used.- Returns:
- builder
-
build
public HorizontalPodAutoscalerBehaviorPatchArgs build()
-
-