@Stability(value=Experimental) public static final class UtilizationScalingOptions.Builder extends Object implements software.amazon.jsii.Builder<UtilizationScalingOptions>
UtilizationScalingOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UtilizationScalingOptions |
build()
Builds the configured instance.
|
UtilizationScalingOptions.Builder |
disableScaleIn(Boolean disableScaleIn)
Sets the value of
BaseTargetTrackingProps.getDisableScaleIn() |
UtilizationScalingOptions.Builder |
policyName(String policyName)
Sets the value of
BaseTargetTrackingProps.getPolicyName() |
UtilizationScalingOptions.Builder |
scaleInCooldown(Duration scaleInCooldown)
Sets the value of
BaseTargetTrackingProps.getScaleInCooldown() |
UtilizationScalingOptions.Builder |
scaleOutCooldown(Duration scaleOutCooldown)
Sets the value of
BaseTargetTrackingProps.getScaleOutCooldown() |
UtilizationScalingOptions.Builder |
utilizationTarget(Number utilizationTarget)
Sets the value of
UtilizationScalingOptions.getUtilizationTarget() |
@Stability(value=Experimental) public UtilizationScalingOptions.Builder utilizationTarget(Number utilizationTarget)
UtilizationScalingOptions.getUtilizationTarget()utilizationTarget - Utilization target for the attribute. This parameter is required.
For example, .5 indicates that 50 percent of allocated provisioned concurrency is in use.this@Stability(value=Experimental) public UtilizationScalingOptions.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 scalable resource. Otherwise, scale in is
enabled and the target tracking policy can remove capacity from the
scalable resource.this@Stability(value=Experimental) public UtilizationScalingOptions.Builder policyName(String policyName)
BaseTargetTrackingProps.getPolicyName()policyName - A name for the scaling policy.this@Stability(value=Experimental) public UtilizationScalingOptions.Builder scaleInCooldown(Duration scaleInCooldown)
BaseTargetTrackingProps.getScaleInCooldown()scaleInCooldown - Period after a scale in activity completes before another scale in activity can start.this@Stability(value=Experimental) public UtilizationScalingOptions.Builder scaleOutCooldown(Duration scaleOutCooldown)
BaseTargetTrackingProps.getScaleOutCooldown()scaleOutCooldown - Period after a scale out activity completes before another scale out activity can start.this@Stability(value=Experimental) public UtilizationScalingOptions build()
build in interface software.amazon.jsii.Builder<UtilizationScalingOptions>UtilizationScalingOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.