Class ScalingInterval.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class ScalingInterval.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ScalingInterval
An implementation for ScalingInterval
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.autoscaling.common.ScalingInterval

    ScalingInterval.Builder, ScalingInterval.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the ScalingInterval.Builder.
    protected
    Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
    Constructor that initializes the object based on values retrieved from the JsiiObject.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Number
    The capacity adjustment to apply in this interval.
    final Number
    The lower bound of the interval.
    final Number
    The upper bound of the interval.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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(ScalingInterval.Builder builder)
      Constructor that initializes the object based on literal property values passed by the ScalingInterval.Builder.
  • Method Details

    • getChange

      public final Number getChange()
      Description copied from interface: ScalingInterval
      The capacity adjustment to apply in this interval.

      The number is interpreted differently based on AdjustmentType:

      • ChangeInCapacity: add the adjustment to the current capacity. The number can be positive or negative.
      • PercentChangeInCapacity: add or remove the given percentage of the current capacity to itself. The number can be in the range [-100..100].
      • ExactCapacity: set the capacity to this number. The number must be positive.
      Specified by:
      getChange in interface ScalingInterval
    • getLower

      public final Number getLower()
      Description copied from interface: ScalingInterval
      The lower bound of the interval.

      The scaling adjustment will be applied if the metric is higher than this value.

      Default: Threshold automatically derived from neighbouring intervals

      Specified by:
      getLower in interface ScalingInterval
    • getUpper

      public final Number getUpper()
      Description copied from interface: ScalingInterval
      The upper bound of the interval.

      The scaling adjustment will be applied if the metric is lower than this value.

      Default: Threshold automatically derived from neighbouring intervals

      Specified by:
      getUpper in interface ScalingInterval
    • $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