@Stability(value=Experimental) @Internal public static final class ScheduledActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScheduledActionProps
ScheduledActionProps
software.amazon.jsii.JsiiObject.InitializationMode
ScheduledActionProps.Builder, ScheduledActionProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(IAutoScalingGroup autoScalingGroup,
Schedule schedule,
Number desiredCapacity,
Instant endTime,
Number maxCapacity,
Number minCapacity,
Instant startTime)
Constructor that initializes the object based on literal property values passed by the
ScheduledActionProps.Builder . |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IAutoScalingGroup |
getAutoScalingGroup()
(experimental) The AutoScalingGroup to apply the scheduled actions to.
|
Number |
getDesiredCapacity()
(experimental) The new desired capacity.
|
Instant |
getEndTime()
(experimental) When this scheduled action expires.
|
Number |
getMaxCapacity()
(experimental) The new maximum capacity.
|
Number |
getMinCapacity()
(experimental) The new minimum capacity.
|
Schedule |
getSchedule()
(experimental) When to perform this action.
|
Instant |
getStartTime()
(experimental) When this scheduled action becomes active.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.protected Jsii$Proxy(IAutoScalingGroup autoScalingGroup, Schedule schedule, Number desiredCapacity, Instant endTime, Number maxCapacity, Number minCapacity, Instant startTime)
ScheduledActionProps.Builder
.public final IAutoScalingGroup getAutoScalingGroup()
ScheduledActionProps
getAutoScalingGroup
in interface ScheduledActionProps
public final Schedule getSchedule()
BasicScheduledActionProps
Supports cron expressions.
For more information about cron expressions, see https://en.wikipedia.org/wiki/Cron.
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 0;8 * * ?;
getSchedule
in interface BasicScheduledActionProps
public final Number getDesiredCapacity()
BasicScheduledActionProps
At the scheduled time, set the desired capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
Default: - No new desired capacity.
getDesiredCapacity
in interface BasicScheduledActionProps
public final Instant getEndTime()
BasicScheduledActionProps
Default: - The rule never expires.
getEndTime
in interface BasicScheduledActionProps
public final Number getMaxCapacity()
BasicScheduledActionProps
At the scheduled time, set the maximum capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
Default: - No new maximum capacity.
getMaxCapacity
in interface BasicScheduledActionProps
public final Number getMinCapacity()
BasicScheduledActionProps
At the scheduled time, set the minimum capacity to the given capacity.
At least one of maxCapacity, minCapacity, or desiredCapacity must be supplied.
Default: - No new minimum capacity.
getMinCapacity
in interface BasicScheduledActionProps
public final Instant getStartTime()
BasicScheduledActionProps
Default: - The rule is activate immediately.
getStartTime
in interface BasicScheduledActionProps
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2021. All rights reserved.