Class OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.opsworks_haproxy_layer.OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling>
- Enclosing interface:
- OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling
@Stability(Stable) public static final class OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder extends Object implements software.amazon.jsii.Builder<OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling>
A builder forOpsworksHaproxyLayerLoadBasedAutoScalingUpscaling
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
alarms
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder alarms(List<String> alarms)
Sets the value ofOpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.getAlarms()- Parameters:
alarms- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#alarms OpsworksHaproxyLayer#alarms}.- Returns:
this
-
cpuThreshold
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder cpuThreshold(Number cpuThreshold)
Sets the value ofOpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.getCpuThreshold()- Parameters:
cpuThreshold- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#cpu_threshold OpsworksHaproxyLayer#cpu_threshold}.- Returns:
this
-
ignoreMetricsTime
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder ignoreMetricsTime(Number ignoreMetricsTime)
Sets the value ofOpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.getIgnoreMetricsTime()- Parameters:
ignoreMetricsTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#ignore_metrics_time OpsworksHaproxyLayer#ignore_metrics_time}.- Returns:
this
-
instanceCount
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder instanceCount(Number instanceCount)
Sets the value ofOpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.getInstanceCount()- Parameters:
instanceCount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#instance_count OpsworksHaproxyLayer#instance_count}.- Returns:
this
-
loadThreshold
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder loadThreshold(Number loadThreshold)
Sets the value ofOpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.getLoadThreshold()- Parameters:
loadThreshold- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#load_threshold OpsworksHaproxyLayer#load_threshold}.- Returns:
this
-
memoryThreshold
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder memoryThreshold(Number memoryThreshold)
Sets the value ofOpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.getMemoryThreshold()- Parameters:
memoryThreshold- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#memory_threshold OpsworksHaproxyLayer#memory_threshold}.- Returns:
this
-
thresholdsWaitTime
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling.Builder thresholdsWaitTime(Number thresholdsWaitTime)
- Parameters:
thresholdsWaitTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#thresholds_wait_time OpsworksHaproxyLayer#thresholds_wait_time}.- Returns:
this
-
build
@Stability(Stable) public OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling>- Returns:
- a new instance of
OpsworksHaproxyLayerLoadBasedAutoScalingUpscaling - Throws:
NullPointerException- if any required attribute was not provided
-
-