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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forRouteSpecOptionsBase
static final class
An implementation forRouteSpecOptionsBase
-
Method Summary
Modifier and TypeMethodDescriptionstatic RouteSpecOptionsBase.Builder
builder()
default Number
The priority for the route.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
- Returns:
- a
RouteSpecOptionsBase.Builder
ofRouteSpecOptionsBase
-