Class ScaleSpec.Jsii$Proxy

  • All Implemented Interfaces:
    ScaleSpec, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    ScaleSpec

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

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

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

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

      • 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​(ScaleSpec.Builder builder)
        Constructor that initializes the object based on literal property values passed by the ScaleSpec.Builder.
    • Method Detail

      • getReplicas

        public final Number getReplicas()
        Description copied from interface: ScaleSpec
        desired number of instances for the scaled object.
        Specified by:
        getReplicas in interface ScaleSpec
      • $jsii$toJson

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

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