@Stability(value=Experimental) public static final class CpuUtilizationScalingProps.Builder extends Object implements software.amazon.jsii.Builder<CpuUtilizationScalingProps>
CpuUtilizationScalingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CpuUtilizationScalingProps |
build()
Builds the configured instance.
|
CpuUtilizationScalingProps.Builder |
cooldown(Duration cooldown)
Sets the value of
BaseTargetTrackingProps.getCooldown() |
CpuUtilizationScalingProps.Builder |
disableScaleIn(Boolean disableScaleIn)
Sets the value of
BaseTargetTrackingProps.getDisableScaleIn() |
CpuUtilizationScalingProps.Builder |
estimatedInstanceWarmup(Duration estimatedInstanceWarmup)
Sets the value of
BaseTargetTrackingProps.getEstimatedInstanceWarmup() |
CpuUtilizationScalingProps.Builder |
targetUtilizationPercent(Number targetUtilizationPercent)
Sets the value of
CpuUtilizationScalingProps.getTargetUtilizationPercent() |
@Stability(value=Experimental) public CpuUtilizationScalingProps.Builder targetUtilizationPercent(Number targetUtilizationPercent)
CpuUtilizationScalingProps.getTargetUtilizationPercent()targetUtilizationPercent - Target average CPU utilization across the task. This parameter is required.this@Stability(value=Experimental) public CpuUtilizationScalingProps.Builder cooldown(Duration cooldown)
BaseTargetTrackingProps.getCooldown()cooldown - Period after a scaling completes before another scaling activity can start.this@Stability(value=Experimental) public CpuUtilizationScalingProps.Builder disableScaleIn(Boolean disableScaleIn)
BaseTargetTrackingProps.getDisableScaleIn()disableScaleIn - Indicates whether scale in by the target tracking policy is disabled.
If the value is true, scale in is disabled and the target tracking policy
won't remove capacity from the autoscaling group. Otherwise, scale in is
enabled and the target tracking policy can remove capacity from the
group.this@Stability(value=Experimental) public CpuUtilizationScalingProps.Builder estimatedInstanceWarmup(Duration estimatedInstanceWarmup)
BaseTargetTrackingProps.getEstimatedInstanceWarmup()estimatedInstanceWarmup - Estimated time until a newly launched instance can send metrics to CloudWatch.this@Stability(value=Experimental) public CpuUtilizationScalingProps build()
build in interface software.amazon.jsii.Builder<CpuUtilizationScalingProps>CpuUtilizationScalingPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.