Class ComputeUrlMapTest.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_url_map.ComputeUrlMapTest.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeUrlMapTest>
- Enclosing interface:
- ComputeUrlMapTest
@Stability(Stable) public static final class ComputeUrlMapTest.Builder extends Object implements software.amazon.jsii.Builder<ComputeUrlMapTest>
A builder forComputeUrlMapTest
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeUrlMapTestbuild()Builds the configured instance.ComputeUrlMapTest.Builderdescription(String description)Sets the value ofComputeUrlMapTest.getDescription()ComputeUrlMapTest.Builderhost(String host)Sets the value ofComputeUrlMapTest.getHost()ComputeUrlMapTest.Builderpath(String path)Sets the value ofComputeUrlMapTest.getPath()ComputeUrlMapTest.Builderservice(String service)Sets the value ofComputeUrlMapTest.getService()
-
-
-
Method Detail
-
host
@Stability(Stable) public ComputeUrlMapTest.Builder host(String host)
Sets the value ofComputeUrlMapTest.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_url_map#host ComputeUrlMap#host}- Returns:
this
-
path
@Stability(Stable) public ComputeUrlMapTest.Builder path(String path)
Sets the value ofComputeUrlMapTest.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_url_map#path ComputeUrlMap#path}- Returns:
this
-
service
@Stability(Stable) public ComputeUrlMapTest.Builder service(String service)
Sets the value ofComputeUrlMapTest.getService()- Parameters:
service- The backend service or backend bucket link that should be matched by this test. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_url_map#service ComputeUrlMap#service}- Returns:
this
-
description
@Stability(Stable) public ComputeUrlMapTest.Builder description(String description)
Sets the value ofComputeUrlMapTest.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_url_map#description ComputeUrlMap#description}- Returns:
this
-
build
@Stability(Stable) public ComputeUrlMapTest build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeUrlMapTest>- Returns:
- a new instance of
ComputeUrlMapTest - Throws:
NullPointerException- if any required attribute was not provided
-
-