Class VersionWeight.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class VersionWeight.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements VersionWeight
An implementation for VersionWeight
  • 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.lambda.VersionWeight

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the VersionWeight.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 IVersion
    The version to route traffic to.
    final Number
    How much weight to assign to this version (0..1).
    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(VersionWeight.Builder builder)
      Constructor that initializes the object based on literal property values passed by the VersionWeight.Builder.
  • Method Details

    • getVersion

      public final IVersion getVersion()
      Description copied from interface: VersionWeight
      The version to route traffic to.
      Specified by:
      getVersion in interface VersionWeight
    • getWeight

      public final Number getWeight()
      Description copied from interface: VersionWeight
      How much weight to assign to this version (0..1).
      Specified by:
      getWeight in interface VersionWeight
    • $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