Class TcpRouteSpecOptions.Jsii$Proxy

All Implemented Interfaces:
RouteSpecOptionsBase, TcpRouteSpecOptions,
Enclosing interface:

@Stability(Stable) @Internal public static final class TcpRouteSpecOptions.Jsii$Proxy extends implements TcpRouteSpecOptions
An implementation for TcpRouteSpecOptions
  • Constructor Details

    • Jsii$Proxy

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

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

    • getWeightedTargets

      public final List<WeightedTarget> getWeightedTargets()
      Description copied from interface: TcpRouteSpecOptions
      List of targets that traffic is routed to when a request matches the route.
      Specified by:
      getWeightedTargets in interface TcpRouteSpecOptions
    • getTimeout

      public final TcpTimeout getTimeout()
      Description copied from interface: TcpRouteSpecOptions
      An object that represents a tcp timeout.

      Default: - None

      Specified by:
      getTimeout in interface TcpRouteSpecOptions
    • getPriority

      public final Number getPriority()
      Description copied from interface: RouteSpecOptionsBase
      The priority for the route.

      When a Virtual Router has multiple routes, route match is performed in the order of specified value, where 0 is the highest priority, and first matched route is selected.

      Default: - no particular priority

      Specified by:
      getPriority in interface RouteSpecOptionsBase
    • $jsii$toJson

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

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

      public final int hashCode()
      hashCode in class Object