Class RegionUrlMapPathMatcherArgs.Builder

    • Method Detail

      • defaultService

        public RegionUrlMapPathMatcherArgs.Builder defaultService​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> defaultService)
        Parameters:
        defaultService - A reference to a RegionBackendService resource. This will be used if none of the pathRules defined by this PathMatcher is matched by the URL's path portion.
        Returns:
        builder
      • defaultService

        public RegionUrlMapPathMatcherArgs.Builder defaultService​(java.lang.String defaultService)
        Parameters:
        defaultService - A reference to a RegionBackendService resource. This will be used if none of the pathRules defined by this PathMatcher is matched by the URL's path portion.
        Returns:
        builder
      • defaultUrlRedirect

        public RegionUrlMapPathMatcherArgs.Builder defaultUrlRedirect​(@Nullable
                                                                      com.pulumi.core.Output<RegionUrlMapPathMatcherDefaultUrlRedirectArgs> defaultUrlRedirect)
        Parameters:
        defaultUrlRedirect - When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Structure is documented below.
        Returns:
        builder
      • defaultUrlRedirect

        public RegionUrlMapPathMatcherArgs.Builder defaultUrlRedirect​(RegionUrlMapPathMatcherDefaultUrlRedirectArgs defaultUrlRedirect)
        Parameters:
        defaultUrlRedirect - When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Structure is documented below.
        Returns:
        builder
      • description

        public RegionUrlMapPathMatcherArgs.Builder description​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - An optional description of this resource.
        Returns:
        builder
      • description

        public RegionUrlMapPathMatcherArgs.Builder description​(java.lang.String description)
        Parameters:
        description - An optional description of this resource.
        Returns:
        builder
      • name

        public RegionUrlMapPathMatcherArgs.Builder name​(com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name to which this PathMatcher is referred by the HostRule.
        Returns:
        builder
      • name

        public RegionUrlMapPathMatcherArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name to which this PathMatcher is referred by the HostRule.
        Returns:
        builder
      • pathRules

        public RegionUrlMapPathMatcherArgs.Builder pathRules​(@Nullable
                                                             com.pulumi.core.Output<java.util.List<RegionUrlMapPathMatcherPathRuleArgs>> pathRules)
        Parameters:
        pathRules - The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set. Structure is documented below.
        Returns:
        builder
      • pathRules

        public RegionUrlMapPathMatcherArgs.Builder pathRules​(java.util.List<RegionUrlMapPathMatcherPathRuleArgs> pathRules)
        Parameters:
        pathRules - The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set. Structure is documented below.
        Returns:
        builder
      • pathRules

        public RegionUrlMapPathMatcherArgs.Builder pathRules​(RegionUrlMapPathMatcherPathRuleArgs... pathRules)
        Parameters:
        pathRules - The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set. Structure is documented below.
        Returns:
        builder
      • routeRules

        public RegionUrlMapPathMatcherArgs.Builder routeRules​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<RegionUrlMapPathMatcherRouteRuleArgs>> routeRules)
        Parameters:
        routeRules - The list of ordered HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. The order of specifying routeRules matters: the first rule that matches will cause its specified routing action to take effect. Within a given pathMatcher, only one of pathRules or routeRules must be set. routeRules are not supported in UrlMaps intended for External load balancers. Structure is documented below.
        Returns:
        builder
      • routeRules

        public RegionUrlMapPathMatcherArgs.Builder routeRules​(java.util.List<RegionUrlMapPathMatcherRouteRuleArgs> routeRules)
        Parameters:
        routeRules - The list of ordered HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. The order of specifying routeRules matters: the first rule that matches will cause its specified routing action to take effect. Within a given pathMatcher, only one of pathRules or routeRules must be set. routeRules are not supported in UrlMaps intended for External load balancers. Structure is documented below.
        Returns:
        builder
      • routeRules

        public RegionUrlMapPathMatcherArgs.Builder routeRules​(RegionUrlMapPathMatcherRouteRuleArgs... routeRules)
        Parameters:
        routeRules - The list of ordered HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. The order of specifying routeRules matters: the first rule that matches will cause its specified routing action to take effect. Within a given pathMatcher, only one of pathRules or routeRules must be set. routeRules are not supported in UrlMaps intended for External load balancers. Structure is documented below.
        Returns:
        builder