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