Class ComputeRegionUrlMapHostRule.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • hosts

        @Stability(Stable)
        public ComputeRegionUrlMapHostRule.Builder hosts​(List<String> hosts)
        Parameters:
        hosts - The list of host patterns to match. This parameter is required. They must be valid hostnames, except * will match any string of ([a-z0-9-.]*). In that case, * must be the first character and must be followed in the pattern by either - or .. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#hosts ComputeRegionUrlMap#hosts}
        Returns:
        this
      • pathMatcher

        @Stability(Stable)
        public ComputeRegionUrlMapHostRule.Builder pathMatcher​(String pathMatcher)
        Parameters:
        pathMatcher - The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#path_matcher ComputeRegionUrlMap#path_matcher}
        Returns:
        this
      • description

        @Stability(Stable)
        public ComputeRegionUrlMapHostRule.Builder description​(String description)
        Parameters:
        description - An optional description of this HostRule. Provide this property when you create the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#description ComputeRegionUrlMap#description}
        Returns:
        this