@Stability(value=Experimental) public static final class BaseTargetTrackingProps.Builder extends Object implements software.amazon.jsii.Builder<BaseTargetTrackingProps>
BaseTargetTrackingProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BaseTargetTrackingProps |
build()
Builds the configured instance.
|
BaseTargetTrackingProps.Builder |
disableScaleIn(Boolean disableScaleIn)
Sets the value of
BaseTargetTrackingProps.getDisableScaleIn() |
BaseTargetTrackingProps.Builder |
policyName(String policyName)
Sets the value of
BaseTargetTrackingProps.getPolicyName() |
BaseTargetTrackingProps.Builder |
scaleInCooldown(Duration scaleInCooldown)
Sets the value of
BaseTargetTrackingProps.getScaleInCooldown() |
BaseTargetTrackingProps.Builder |
scaleOutCooldown(Duration scaleOutCooldown)
Sets the value of
BaseTargetTrackingProps.getScaleOutCooldown() |
@Stability(value=Experimental) public BaseTargetTrackingProps.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 BaseTargetTrackingProps.Builder policyName(String policyName)
BaseTargetTrackingProps.getPolicyName()
policyName
- A name for the scaling policy.this
@Stability(value=Experimental) public BaseTargetTrackingProps.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 BaseTargetTrackingProps.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 BaseTargetTrackingProps build()
build
in interface software.amazon.jsii.Builder<BaseTargetTrackingProps>
BaseTargetTrackingProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.