public StepScalingPolicyConfiguration withCooldown(Integer cooldown) {
        setCooldown(cooldown);
        return this;
    }
<p>
The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the
default value is 300. For more information, see <a href=
"https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown"
>Cooldown period</a> in the <i>Application Auto Scaling User Guide</i>.
</p>

@param cooldown
       The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified,
       the default value is 300. For more information, see <a href=
       "https://docs.aws.amazon.com/autoscaling/application/userguide/step-scaling-policy-overview.html#step-scaling-cooldown"
       >Cooldown period</a> in the <i>Application Auto Scaling User Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/StepScalingPolicyConfiguration.java