Class RouteSpec


  • public final class RouteSpec
    extends java.lang.Object
    • Method Detail

      • grpcRoute

        public java.util.Optional<RouteSpecGrpcRoute> grpcRoute()
        Returns:
        gRPC routing information for the route. See `spec.grpc_route` Block for details.
      • http2Route

        public java.util.Optional<RouteSpecHttp2Route> http2Route()
        Returns:
        HTTP/2 routing information for the route. See `spec.http2_route` Block for details.
      • httpRoute

        public java.util.Optional<RouteSpecHttpRoute> httpRoute()
        Returns:
        HTTP routing information for the route. See `spec.http_route` Block for details.
      • priority

        public java.util.Optional<java.lang.Integer> priority()
        Returns:
        Priority for the route, between `0` and `1000`. Routes are matched based on the specified value, where `0` is the highest priority.
      • tcpRoute

        public java.util.Optional<RouteSpecTcpRoute> tcpRoute()
        Returns:
        TCP routing information for the route. See `spec.tcp_route` Block for details.