@Stability(value=Experimental) public static final class BasicScheduledActionProps.Builder extends Object implements software.amazon.jsii.Builder<BasicScheduledActionProps>
BasicScheduledActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BasicScheduledActionProps |
build()
Builds the configured instance.
|
BasicScheduledActionProps.Builder |
desiredCapacity(Number desiredCapacity)
Sets the value of
BasicScheduledActionProps.getDesiredCapacity() |
BasicScheduledActionProps.Builder |
endTime(Instant endTime)
Sets the value of
BasicScheduledActionProps.getEndTime() |
BasicScheduledActionProps.Builder |
maxCapacity(Number maxCapacity)
Sets the value of
BasicScheduledActionProps.getMaxCapacity() |
BasicScheduledActionProps.Builder |
minCapacity(Number minCapacity)
Sets the value of
BasicScheduledActionProps.getMinCapacity() |
BasicScheduledActionProps.Builder |
schedule(Schedule schedule)
Sets the value of
BasicScheduledActionProps.getSchedule() |
BasicScheduledActionProps.Builder |
startTime(Instant startTime)
Sets the value of
BasicScheduledActionProps.getStartTime() |
@Stability(value=Experimental) public BasicScheduledActionProps.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 BasicScheduledActionProps.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 BasicScheduledActionProps.Builder endTime(Instant endTime)
BasicScheduledActionProps.getEndTime()endTime - When this scheduled action expires.this@Stability(value=Experimental) public BasicScheduledActionProps.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 BasicScheduledActionProps.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 BasicScheduledActionProps.Builder startTime(Instant startTime)
BasicScheduledActionProps.getStartTime()startTime - When this scheduled action becomes active.this@Stability(value=Experimental) public BasicScheduledActionProps build()
build in interface software.amazon.jsii.Builder<BasicScheduledActionProps>BasicScheduledActionPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.