@Stability(value=Experimental) public static final class UtilizationScalingProps.Builder extends Object
UtilizationScalingProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UtilizationScalingProps |
build()
Builds the configured instance.
|
UtilizationScalingProps.Builder |
withDisableScaleIn(Boolean value)
Sets the value of DisableScaleIn
|
UtilizationScalingProps.Builder |
withPolicyName(String value)
Sets the value of PolicyName
|
UtilizationScalingProps.Builder |
withScaleInCooldownSec(Number value)
Sets the value of ScaleInCooldownSec
|
UtilizationScalingProps.Builder |
withScaleOutCooldownSec(Number value)
Sets the value of ScaleOutCooldownSec
|
UtilizationScalingProps.Builder |
withTargetUtilizationPercent(Number value)
Sets the value of TargetUtilizationPercent
|
@Stability(value=Experimental) public UtilizationScalingProps.Builder withTargetUtilizationPercent(Number value)
value - Target utilization percentage for the attribute.this@Stability(value=Experimental) public UtilizationScalingProps.Builder withDisableScaleIn(@Nullable Boolean value)
value - Indicates whether scale in by the target tracking policy is disabled.this@Stability(value=Experimental) public UtilizationScalingProps.Builder withPolicyName(@Nullable String value)
value - A name for the scaling policy.this@Stability(value=Experimental) public UtilizationScalingProps.Builder withScaleInCooldownSec(@Nullable Number value)
value - Period after a scale in activity completes before another scale in activity can start.this@Stability(value=Experimental) public UtilizationScalingProps.Builder withScaleOutCooldownSec(@Nullable Number value)
value - Period after a scale out activity completes before another scale out activity can start.this@Stability(value=Experimental) public UtilizationScalingProps build()
UtilizationScalingPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.