Class ComputeAutoscalerAutoscalingPolicyScaleInControl.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_autoscaler.ComputeAutoscalerAutoscalingPolicyScaleInControl.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeAutoscalerAutoscalingPolicyScaleInControl>
- Enclosing interface:
- ComputeAutoscalerAutoscalingPolicyScaleInControl
@Stability(Stable) public static final class ComputeAutoscalerAutoscalingPolicyScaleInControl.Builder extends Object implements software.amazon.jsii.Builder<ComputeAutoscalerAutoscalingPolicyScaleInControl>
A builder forComputeAutoscalerAutoscalingPolicyScaleInControl
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeAutoscalerAutoscalingPolicyScaleInControlbuild()Builds the configured instance.ComputeAutoscalerAutoscalingPolicyScaleInControl.BuildermaxScaledInReplicas(ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas maxScaledInReplicas)ComputeAutoscalerAutoscalingPolicyScaleInControl.BuildertimeWindowSec(Number timeWindowSec)Sets the value ofComputeAutoscalerAutoscalingPolicyScaleInControl.getTimeWindowSec()
-
-
-
Method Detail
-
maxScaledInReplicas
@Stability(Stable) public ComputeAutoscalerAutoscalingPolicyScaleInControl.Builder maxScaledInReplicas(ComputeAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas maxScaledInReplicas)
- Parameters:
maxScaledInReplicas- max_scaled_in_replicas block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_autoscaler#max_scaled_in_replicas ComputeAutoscaler#max_scaled_in_replicas}- Returns:
this
-
timeWindowSec
@Stability(Stable) public ComputeAutoscalerAutoscalingPolicyScaleInControl.Builder timeWindowSec(Number timeWindowSec)
Sets the value ofComputeAutoscalerAutoscalingPolicyScaleInControl.getTimeWindowSec()- Parameters:
timeWindowSec- How long back autoscaling should look when computing recommendations to include directives regarding slower scale down, as described above. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_autoscaler#time_window_sec ComputeAutoscaler#time_window_sec}- Returns:
this
-
build
@Stability(Stable) public ComputeAutoscalerAutoscalingPolicyScaleInControl build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeAutoscalerAutoscalingPolicyScaleInControl>- Returns:
- a new instance of
ComputeAutoscalerAutoscalingPolicyScaleInControl - Throws:
NullPointerException- if any required attribute was not provided
-
-