Interface RouteSpecOptionsBase

All Superinterfaces:
All Known Subinterfaces:
GrpcRouteSpecOptions, HttpRouteSpecOptions, TcpRouteSpecOptions
All Known Implementing Classes:
GrpcRouteSpecOptions.Jsii$Proxy, HttpRouteSpecOptions.Jsii$Proxy, RouteSpecOptionsBase.Jsii$Proxy, TcpRouteSpecOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:46.151Z") @Stability(Stable) public interface RouteSpecOptionsBase extends
Base options for all route specs.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 RouteSpecOptionsBase routeSpecOptionsBase = RouteSpecOptionsBase.builder()
  • Method Details

    • getPriority

      @Stability(Stable) @Nullable default Number getPriority()
      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

    • builder

      @Stability(Stable) static RouteSpecOptionsBase.Builder builder()
      a RouteSpecOptionsBase.Builder of RouteSpecOptionsBase