Class HttpRouteArgs.Builder

  • Enclosing class:
    HttpRouteArgs

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

      • Builder

        public Builder()
    • Method Detail

      • description

        public HttpRouteArgs.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A free-text description of the resource. Max length 1024 characters.
        Returns:
        builder
      • description

        public HttpRouteArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A free-text description of the resource. Max length 1024 characters.
        Returns:
        builder
      • gateways

        public HttpRouteArgs.Builder gateways​(@Nullable
                                              com.pulumi.core.Output<java.util.List<java.lang.String>> gateways)
        Parameters:
        gateways - Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/<gateway_name>
        Returns:
        builder
      • gateways

        public HttpRouteArgs.Builder gateways​(java.util.List<java.lang.String> gateways)
        Parameters:
        gateways - Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/<gateway_name>
        Returns:
        builder
      • gateways

        public HttpRouteArgs.Builder gateways​(java.lang.String... gateways)
        Parameters:
        gateways - Gateways defines a list of gateways this HttpRoute is attached to, as one of the routing rules to route the requests served by the gateway. Each gateway reference should match the pattern: projects/*/locations/global/gateways/<gateway_name>
        Returns:
        builder
      • hostnames

        public HttpRouteArgs.Builder hostnames​(com.pulumi.core.Output<java.util.List<java.lang.String>> hostnames)
        Parameters:
        hostnames - Set of hosts that should match against the HTTP host header to select a HttpRoute to process the request.
        Returns:
        builder
      • hostnames

        public HttpRouteArgs.Builder hostnames​(java.util.List<java.lang.String> hostnames)
        Parameters:
        hostnames - Set of hosts that should match against the HTTP host header to select a HttpRoute to process the request.
        Returns:
        builder
      • hostnames

        public HttpRouteArgs.Builder hostnames​(java.lang.String... hostnames)
        Parameters:
        hostnames - Set of hosts that should match against the HTTP host header to select a HttpRoute to process the request.
        Returns:
        builder
      • labels

        public HttpRouteArgs.Builder labels​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> labels)
        Parameters:
        labels - Set of label tags associated with the HttpRoute resource.
        Returns:
        builder
      • labels

        public HttpRouteArgs.Builder labels​(java.util.Map<java.lang.String,​java.lang.String> labels)
        Parameters:
        labels - Set of label tags associated with the HttpRoute resource.
        Returns:
        builder
      • meshes

        public HttpRouteArgs.Builder meshes​(@Nullable
                                            com.pulumi.core.Output<java.util.List<java.lang.String>> meshes)
        Parameters:
        meshes - Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/<mesh_name>. The attached Mesh should be of a type SIDECAR.
        Returns:
        builder
      • meshes

        public HttpRouteArgs.Builder meshes​(java.util.List<java.lang.String> meshes)
        Parameters:
        meshes - Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/<mesh_name>. The attached Mesh should be of a type SIDECAR.
        Returns:
        builder
      • meshes

        public HttpRouteArgs.Builder meshes​(java.lang.String... meshes)
        Parameters:
        meshes - Meshes defines a list of meshes this HttpRoute is attached to, as one of the routing rules to route the requests served by the mesh. Each mesh reference should match the pattern: projects/*/locations/global/meshes/<mesh_name>. The attached Mesh should be of a type SIDECAR.
        Returns:
        builder
      • name

        public HttpRouteArgs.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the HttpRoute resource.
        Returns:
        builder
      • name

        public HttpRouteArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the HttpRoute resource.
        Returns:
        builder
      • project

        public HttpRouteArgs.Builder project​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • project

        public HttpRouteArgs.Builder project​(java.lang.String project)
        Parameters:
        project - The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
        Returns:
        builder
      • rules

        public HttpRouteArgs.Builder rules​(com.pulumi.core.Output<java.util.List<HttpRouteRuleArgs>> rules)
        Parameters:
        rules - Rules that define how traffic is routed and handled. Structure is documented below.
        Returns:
        builder
      • rules

        public HttpRouteArgs.Builder rules​(java.util.List<HttpRouteRuleArgs> rules)
        Parameters:
        rules - Rules that define how traffic is routed and handled. Structure is documented below.
        Returns:
        builder
      • rules

        public HttpRouteArgs.Builder rules​(HttpRouteRuleArgs... rules)
        Parameters:
        rules - Rules that define how traffic is routed and handled. Structure is documented below.
        Returns:
        builder