Class ComputeRegionUrlMapTest.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_region_url_map.ComputeRegionUrlMapTest.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeRegionUrlMapTest>
- Enclosing interface:
- ComputeRegionUrlMapTest
@Stability(Stable) public static final class ComputeRegionUrlMapTest.Builder extends Object implements software.amazon.jsii.Builder<ComputeRegionUrlMapTest>
A builder forComputeRegionUrlMapTest
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeRegionUrlMapTestbuild()Builds the configured instance.ComputeRegionUrlMapTest.Builderdescription(String description)Sets the value ofComputeRegionUrlMapTest.getDescription()ComputeRegionUrlMapTest.Builderhost(String host)Sets the value ofComputeRegionUrlMapTest.getHost()ComputeRegionUrlMapTest.Builderpath(String path)Sets the value ofComputeRegionUrlMapTest.getPath()ComputeRegionUrlMapTest.Builderservice(String service)Sets the value ofComputeRegionUrlMapTest.getService()
-
-
-
Method Detail
-
host
@Stability(Stable) public ComputeRegionUrlMapTest.Builder host(String host)
Sets the value ofComputeRegionUrlMapTest.getHost()- Parameters:
host- Host portion of the URL. 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#host ComputeRegionUrlMap#host}- Returns:
this
-
path
@Stability(Stable) public ComputeRegionUrlMapTest.Builder path(String path)
Sets the value ofComputeRegionUrlMapTest.getPath()- Parameters:
path- Path portion of the URL. 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 ComputeRegionUrlMap#path}- Returns:
this
-
service
@Stability(Stable) public ComputeRegionUrlMapTest.Builder service(String service)
Sets the value ofComputeRegionUrlMapTest.getService()- Parameters:
service- A reference to expected RegionBackendService resource the given URL should be mapped to. 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#service ComputeRegionUrlMap#service}- Returns:
this
-
description
@Stability(Stable) public ComputeRegionUrlMapTest.Builder description(String description)
Sets the value ofComputeRegionUrlMapTest.getDescription()- Parameters:
description- Description of this test case. 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
-
build
@Stability(Stable) public ComputeRegionUrlMapTest build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeRegionUrlMapTest>- Returns:
- a new instance of
ComputeRegionUrlMapTest - Throws:
NullPointerException- if any required attribute was not provided
-
-