Interface RouteSpecOptionsBase

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
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.103.1 (build bef2dea)", date="2024-10-11T15:55:53.241Z") @Stability(Stable) public interface RouteSpecOptionsBase extends software.amazon.jsii.JsiiSerializable
Base options for all route specs.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appmesh.*;
 RouteSpecOptionsBase routeSpecOptionsBase = RouteSpecOptionsBase.builder()
         .priority(123)
         .build();
 
  • 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()
      Returns:
      a RouteSpecOptionsBase.Builder of RouteSpecOptionsBase