Package com.pulumi.aws.opsworks.inputs
Class CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.opsworks.inputs.CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder
-
- Enclosing class:
- CustomLayerLoadBasedAutoScalingDownscalingArgs
public static final class CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(CustomLayerLoadBasedAutoScalingDownscalingArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(CustomLayerLoadBasedAutoScalingDownscalingArgs defaults)
-
-
Method Detail
-
alarms
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder alarms(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> alarms)
- Parameters:
alarms
- Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.- Returns:
- builder
-
alarms
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder alarms(java.util.List<java.lang.String> alarms)
- Parameters:
alarms
- Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.- Returns:
- builder
-
alarms
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder alarms(java.lang.String... alarms)
- Parameters:
alarms
- Custom Cloudwatch auto scaling alarms, to be used as thresholds. This parameter takes a list of up to five alarm names, which are case sensitive and must be in the same region as the stack.- Returns:
- builder
-
cpuThreshold
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder cpuThreshold(@Nullable com.pulumi.core.Output<java.lang.Double> cpuThreshold)
- Parameters:
cpuThreshold
- The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.- Returns:
- builder
-
cpuThreshold
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder cpuThreshold(java.lang.Double cpuThreshold)
- Parameters:
cpuThreshold
- The CPU utilization threshold, as a percent of the available CPU. A value of -1 disables the threshold.- Returns:
- builder
-
ignoreMetricsTime
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder ignoreMetricsTime(@Nullable com.pulumi.core.Output<java.lang.Integer> ignoreMetricsTime)
- Parameters:
ignoreMetricsTime
- The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.- Returns:
- builder
-
ignoreMetricsTime
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder ignoreMetricsTime(java.lang.Integer ignoreMetricsTime)
- Parameters:
ignoreMetricsTime
- The amount of time (in minutes) after a scaling event occurs that AWS OpsWorks Stacks should ignore metrics and suppress additional scaling events.- Returns:
- builder
-
instanceCount
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder instanceCount(@Nullable com.pulumi.core.Output<java.lang.Integer> instanceCount)
- Parameters:
instanceCount
- The number of instances to add or remove when the load exceeds a threshold.- Returns:
- builder
-
instanceCount
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder instanceCount(java.lang.Integer instanceCount)
- Parameters:
instanceCount
- The number of instances to add or remove when the load exceeds a threshold.- Returns:
- builder
-
loadThreshold
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder loadThreshold(@Nullable com.pulumi.core.Output<java.lang.Double> loadThreshold)
- Parameters:
loadThreshold
- The load threshold. A value of -1 disables the threshold.- Returns:
- builder
-
loadThreshold
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder loadThreshold(java.lang.Double loadThreshold)
- Parameters:
loadThreshold
- The load threshold. A value of -1 disables the threshold.- Returns:
- builder
-
memoryThreshold
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder memoryThreshold(@Nullable com.pulumi.core.Output<java.lang.Double> memoryThreshold)
- Parameters:
memoryThreshold
- The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.- Returns:
- builder
-
memoryThreshold
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder memoryThreshold(java.lang.Double memoryThreshold)
- Parameters:
memoryThreshold
- The memory utilization threshold, as a percent of the available memory. A value of -1 disables the threshold.- Returns:
- builder
-
thresholdsWaitTime
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder thresholdsWaitTime(@Nullable com.pulumi.core.Output<java.lang.Integer> thresholdsWaitTime)
- Parameters:
thresholdsWaitTime
- The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.- Returns:
- builder
-
thresholdsWaitTime
public CustomLayerLoadBasedAutoScalingDownscalingArgs.Builder thresholdsWaitTime(java.lang.Integer thresholdsWaitTime)
- Parameters:
thresholdsWaitTime
- The amount of time, in minutes, that the load must exceed a threshold before more instances are added or removed.- Returns:
- builder
-
build
public CustomLayerLoadBasedAutoScalingDownscalingArgs build()
-
-