Class ScalingSchedule.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.applicationautoscaling.ScalingSchedule.Jsii$Proxy
All Implemented Interfaces:
ScalingSchedule, software.amazon.jsii.JsiiSerializable
Enclosing interface:
ScalingSchedule

@Stability(Stable) @Internal public static final class ScalingSchedule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScalingSchedule
An implementation for ScalingSchedule
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(ScalingSchedule.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ScalingSchedule.Builder.
  • Method Details

    • getSchedule

      public final Schedule getSchedule()
      Description copied from interface: ScalingSchedule
      When to perform this action.
      Specified by:
      getSchedule in interface ScalingSchedule
    • getEndTime

      public final Instant getEndTime()
      Description copied from interface: ScalingSchedule
      When this scheduled action expires.

      Default: The rule never expires.

      Specified by:
      getEndTime in interface ScalingSchedule
    • getMaxCapacity

      public final Number getMaxCapacity()
      Description copied from interface: ScalingSchedule
      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.

      Default: No new maximum capacity

      Specified by:
      getMaxCapacity in interface ScalingSchedule
    • getMinCapacity

      public final Number getMinCapacity()
      Description copied from interface: ScalingSchedule
      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.

      Default: No new minimum capacity

      Specified by:
      getMinCapacity in interface ScalingSchedule
    • getStartTime

      public final Instant getStartTime()
      Description copied from interface: ScalingSchedule
      When this scheduled action becomes active.

      Default: The rule is activate immediately

      Specified by:
      getStartTime in interface ScalingSchedule
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object