Class RouteSpecArgs.Builder

  • Enclosing class:
    RouteSpecArgs

    public static final class RouteSpecArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • grpcRoute

        public RouteSpecArgs.Builder grpcRoute​(@Nullable
                                               com.pulumi.core.Output<RouteSpecGrpcRouteArgs> grpcRoute)
        Parameters:
        grpcRoute - gRPC routing information for the route. See `spec.grpc_route` Block for details.
        Returns:
        builder
      • http2Route

        public RouteSpecArgs.Builder http2Route​(@Nullable
                                                com.pulumi.core.Output<RouteSpecHttp2RouteArgs> http2Route)
        Parameters:
        http2Route - HTTP/2 routing information for the route. See `spec.http2_route` Block for details.
        Returns:
        builder
      • http2Route

        public RouteSpecArgs.Builder http2Route​(RouteSpecHttp2RouteArgs http2Route)
        Parameters:
        http2Route - HTTP/2 routing information for the route. See `spec.http2_route` Block for details.
        Returns:
        builder
      • httpRoute

        public RouteSpecArgs.Builder httpRoute​(@Nullable
                                               com.pulumi.core.Output<RouteSpecHttpRouteArgs> httpRoute)
        Parameters:
        httpRoute - HTTP routing information for the route. See `spec.http_route` Block for details.
        Returns:
        builder
      • priority

        public RouteSpecArgs.Builder priority​(@Nullable
                                              com.pulumi.core.Output<java.lang.Integer> priority)
        Parameters:
        priority - Priority for the route, between `0` and `1000`. Routes are matched based on the specified value, where `0` is the highest priority.
        Returns:
        builder
      • priority

        public RouteSpecArgs.Builder priority​(java.lang.Integer priority)
        Parameters:
        priority - Priority for the route, between `0` and `1000`. Routes are matched based on the specified value, where `0` is the highest priority.
        Returns:
        builder
      • tcpRoute

        public RouteSpecArgs.Builder tcpRoute​(@Nullable
                                              com.pulumi.core.Output<RouteSpecTcpRouteArgs> tcpRoute)
        Parameters:
        tcpRoute - TCP routing information for the route. See `spec.tcp_route` Block for details.
        Returns:
        builder