Class ComputeRegionUrlMap.Builder

    • Method Detail

      • create

        @Stability(Stable)
        public static ComputeRegionUrlMap.Builder create​(software.constructs.Construct scope,
                                                         String id)
        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        Returns:
        a new instance of ComputeRegionUrlMap.Builder.
      • connection

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Parameters:
        connection - This parameter is required.
        Returns:
        this
      • count

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Parameters:
        count - This parameter is required.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Parameters:
        dependsOn - This parameter is required.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Parameters:
        forEach - This parameter is required.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Parameters:
        lifecycle - This parameter is required.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Parameters:
        provider - This parameter is required.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public ComputeRegionUrlMap.Builder provisioners​(List<? extends Object> provisioners)
        Parameters:
        provisioners - This parameter is required.
        Returns:
        this
      • name

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder name​(String name)
        Name of the resource.

        Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression '[a-z](%5B-a-z0-9%5D*%5Ba-z0-9%5D)?' which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#name ComputeRegionUrlMap#name}

        Parameters:
        name - Name of the resource. This parameter is required.
        Returns:
        this
      • defaultRouteAction

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder defaultRouteAction​(ComputeRegionUrlMapDefaultRouteAction defaultRouteAction)
        default_route_action block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#default_route_action ComputeRegionUrlMap#default_route_action}

        Parameters:
        defaultRouteAction - default_route_action block. This parameter is required.
        Returns:
        this
      • defaultService

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder defaultService​(String defaultService)
        The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match.

        If defaultRouteAction is additionally specified, advanced routing actions like URL Rewrites, etc. take effect prior to sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect or defaultRouteAction.weightedBackendService must be set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#default_service ComputeRegionUrlMap#default_service}

        Parameters:
        defaultService - The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. This parameter is required.
        Returns:
        this
      • defaultUrlRedirect

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder defaultUrlRedirect​(ComputeRegionUrlMapDefaultUrlRedirect defaultUrlRedirect)
        default_url_redirect block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#default_url_redirect ComputeRegionUrlMap#default_url_redirect}

        Parameters:
        defaultUrlRedirect - default_url_redirect block. This parameter is required.
        Returns:
        this
      • description

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder description​(String 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_region_url_map#description ComputeRegionUrlMap#description}

        Parameters:
        description - An optional description of this resource. Provide this property when you create the resource. This parameter is required.
        Returns:
        this
      • hostRule

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder hostRule​(com.hashicorp.cdktf.IResolvable hostRule)
        host_rule block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#host_rule ComputeRegionUrlMap#host_rule}

        Parameters:
        hostRule - host_rule block. This parameter is required.
        Returns:
        this
      • hostRule

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder hostRule​(List<? extends ComputeRegionUrlMapHostRule> hostRule)
        host_rule block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#host_rule ComputeRegionUrlMap#host_rule}

        Parameters:
        hostRule - host_rule block. This parameter is required.
        Returns:
        this
      • id

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder id​(String id)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#id ComputeRegionUrlMap#id}.

        Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.

        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#id ComputeRegionUrlMap#id}. This parameter is required.
        Returns:
        this
      • pathMatcher

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder pathMatcher​(com.hashicorp.cdktf.IResolvable pathMatcher)
        path_matcher block.

        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}

        Parameters:
        pathMatcher - path_matcher block. This parameter is required.
        Returns:
        this
      • pathMatcher

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder pathMatcher​(List<? extends ComputeRegionUrlMapPathMatcher> pathMatcher)
        path_matcher block.

        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}

        Parameters:
        pathMatcher - path_matcher block. This parameter is required.
        Returns:
        this
      • project

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder project​(String project)
        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#project ComputeRegionUrlMap#project}.

        Parameters:
        project - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#project ComputeRegionUrlMap#project}. This parameter is required.
        Returns:
        this
      • region

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder region​(String region)
        The Region in which the url map should reside. If it is not provided, the provider region is used.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#region ComputeRegionUrlMap#region}

        Parameters:
        region - The Region in which the url map should reside. If it is not provided, the provider region is used. This parameter is required.
        Returns:
        this
      • test

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder test​(com.hashicorp.cdktf.IResolvable test)
        test block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#test ComputeRegionUrlMap#test}

        Parameters:
        test - test block. This parameter is required.
        Returns:
        this
      • test

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder test​(List<? extends ComputeRegionUrlMapTest> test)
        test block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#test ComputeRegionUrlMap#test}

        Parameters:
        test - test block. This parameter is required.
        Returns:
        this
      • timeouts

        @Stability(Stable)
        public ComputeRegionUrlMap.Builder timeouts​(ComputeRegionUrlMapTimeouts timeouts)
        timeouts block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_url_map#timeouts ComputeRegionUrlMap#timeouts}

        Parameters:
        timeouts - timeouts block. This parameter is required.
        Returns:
        this