@Stability(value=Experimental) public static final class ScheduledActionProps.Builder extends Object implements software.amazon.jsii.Builder<ScheduledActionProps>
ScheduledActionProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public ScheduledActionProps.Builder autoScalingGroup(IAutoScalingGroup autoScalingGroup)
ScheduledActionProps.getAutoScalingGroup()autoScalingGroup - The AutoScalingGroup to apply the scheduled actions to. This parameter is required.this@Stability(value=Experimental) public ScheduledActionProps.Builder schedule(Schedule schedule)
BasicScheduledActionProps.getSchedule()schedule - When to perform this action. This parameter is required.
Supports cron expressions.
For more information about cron expressions, see https://en.wikipedia.org/wiki/Cron.
this@Stability(value=Experimental) public ScheduledActionProps.Builder desiredCapacity(Number desiredCapacity)
BasicScheduledActionProps.getDesiredCapacity()desiredCapacity - The new desired capacity.
At the scheduled time, set the desired capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
this@Stability(value=Experimental) public ScheduledActionProps.Builder endTime(Instant endTime)
BasicScheduledActionProps.getEndTime()endTime - When this scheduled action expires.this@Stability(value=Experimental) public ScheduledActionProps.Builder maxCapacity(Number maxCapacity)
BasicScheduledActionProps.getMaxCapacity()maxCapacity - The new maximum capacity.
At the scheduled time, set the maximum capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
this@Stability(value=Experimental) public ScheduledActionProps.Builder minCapacity(Number minCapacity)
BasicScheduledActionProps.getMinCapacity()minCapacity - The new minimum capacity.
At the scheduled time, set the minimum capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
this@Stability(value=Experimental) public ScheduledActionProps.Builder startTime(Instant startTime)
BasicScheduledActionProps.getStartTime()startTime - When this scheduled action becomes active.this@Stability(value=Experimental) public ScheduledActionProps build()
build in interface software.amazon.jsii.Builder<ScheduledActionProps>ScheduledActionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.