Class WeightedTarget.Jsii$Proxy

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

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Constructor that initializes the object based on literal property values passed by the WeightedTarget.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 port to match from the request.
    The VirtualNode the route points to.
    final Number
    The weight for the target.
    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(WeightedTarget.Builder builder)
      Constructor that initializes the object based on literal property values passed by the WeightedTarget.Builder.
  • Method Details

    • getVirtualNode

      public final IVirtualNode getVirtualNode()
      Description copied from interface: WeightedTarget
      The VirtualNode the route points to.
      Specified by:
      getVirtualNode in interface WeightedTarget
    • getPort

      public final Number getPort()
      Description copied from interface: WeightedTarget
      The port to match from the request.

      Default: - do not match on port

      Specified by:
      getPort in interface WeightedTarget
    • getWeight

      public final Number getWeight()
      Description copied from interface: WeightedTarget
      The weight for the target.

      Default: 1

      Specified by:
      getWeight in interface WeightedTarget
    • $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