Class ComputeRegionAutoscalerAutoscalingPolicyScaleInControl.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_autoscaler.ComputeRegionAutoscalerAutoscalingPolicyScaleInControl.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionAutoscalerAutoscalingPolicyScaleInControl>
- Enclosing interface:
- ComputeRegionAutoscalerAutoscalingPolicyScaleInControl
@Stability(Stable) public static final class ComputeRegionAutoscalerAutoscalingPolicyScaleInControl.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionAutoscalerAutoscalingPolicyScaleInControl>
A builder forComputeRegionAutoscalerAutoscalingPolicyScaleInControl
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionAutoscalerAutoscalingPolicyScaleInControlbuild()Builds the configured instance.ComputeRegionAutoscalerAutoscalingPolicyScaleInControl.BuildermaxScaledInReplicas(ComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas maxScaledInReplicas)ComputeRegionAutoscalerAutoscalingPolicyScaleInControl.BuildertimeWindowSec(Number timeWindowSec)
-
-
-
Method Detail
-
maxScaledInReplicas
@Stability(Stable) public ComputeRegionAutoscalerAutoscalingPolicyScaleInControl.Builder maxScaledInReplicas(ComputeRegionAutoscalerAutoscalingPolicyScaleInControlMaxScaledInReplicas 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_region_autoscaler#max_scaled_in_replicas ComputeRegionAutoscaler#max_scaled_in_replicas}- Returns:
this
-
timeWindowSec
@Stability(Stable) public ComputeRegionAutoscalerAutoscalingPolicyScaleInControl.Builder timeWindowSec(Number timeWindowSec)
- 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_region_autoscaler#time_window_sec ComputeRegionAutoscaler#time_window_sec}- Returns:
this
-
build
@Stability(Stable) public ComputeRegionAutoscalerAutoscalingPolicyScaleInControl build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionAutoscalerAutoscalingPolicyScaleInControl>- Returns:
- a new instance of
ComputeRegionAutoscalerAutoscalingPolicyScaleInControl - Throws:
NullPointerException- if any required attribute was not provided
-
-