@Stability(value=Experimental) public static final class ScalingSchedule.Builder extends Object implements software.amazon.jsii.Builder<ScalingSchedule>
ScalingSchedule| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ScalingSchedule |
build()
Builds the configured instance.
|
ScalingSchedule.Builder |
endTime(Instant endTime)
Sets the value of
ScalingSchedule.getEndTime() |
ScalingSchedule.Builder |
maxCapacity(Number maxCapacity)
Sets the value of
ScalingSchedule.getMaxCapacity() |
ScalingSchedule.Builder |
minCapacity(Number minCapacity)
Sets the value of
ScalingSchedule.getMinCapacity() |
ScalingSchedule.Builder |
schedule(Schedule schedule)
Sets the value of
ScalingSchedule.getSchedule() |
ScalingSchedule.Builder |
startTime(Instant startTime)
Sets the value of
ScalingSchedule.getStartTime() |
@Stability(value=Experimental) public ScalingSchedule.Builder schedule(Schedule schedule)
ScalingSchedule.getSchedule()schedule - When to perform this action. This parameter is required.this@Stability(value=Experimental) public ScalingSchedule.Builder endTime(Instant endTime)
ScalingSchedule.getEndTime()endTime - When this scheduled action expires.this@Stability(value=Experimental) public ScalingSchedule.Builder maxCapacity(Number maxCapacity)
ScalingSchedule.getMaxCapacity()maxCapacity - The new maximum capacity.
During the scheduled time, the current capacity is above the maximum
capacity, Application Auto Scaling scales in to the maximum capacity.
At least one of maxCapacity and minCapacity must be supplied.
this@Stability(value=Experimental) public ScalingSchedule.Builder minCapacity(Number minCapacity)
ScalingSchedule.getMinCapacity()minCapacity - The new minimum capacity.
During the scheduled time, if the current capacity is below the minimum
capacity, Application Auto Scaling scales out to the minimum capacity.
At least one of maxCapacity and minCapacity must be supplied.
this@Stability(value=Experimental) public ScalingSchedule.Builder startTime(Instant startTime)
ScalingSchedule.getStartTime()startTime - When this scheduled action becomes active.this@Stability(value=Experimental) public ScalingSchedule build()
build in interface software.amazon.jsii.Builder<ScalingSchedule>ScalingScheduleNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.