Class ComputeUrlMapHostRule.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • hosts

        @Stability(Stable)
        public ComputeUrlMapHostRule.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_url_map#hosts ComputeUrlMap#hosts}
        Returns:
        this
      • pathMatcher

        @Stability(Stable)
        public ComputeUrlMapHostRule.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_url_map#path_matcher ComputeUrlMap#path_matcher}
        Returns:
        this
      • description

        @Stability(Stable)
        public ComputeUrlMapHostRule.Builder description​(String description)
        Parameters:
        description - An optional description of this resource. 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_url_map#description ComputeUrlMap#description}
        Returns:
        this