Class ClouddeployTargetRun.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.clouddeploy_target.ClouddeployTargetRun.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClouddeployTargetRun>
- Enclosing interface:
- ClouddeployTargetRun
@Stability(Stable) public static final class ClouddeployTargetRun.Builder extends Object implements software.amazon.jsii.Builder<ClouddeployTargetRun>
A builder forClouddeployTargetRun
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClouddeployTargetRunbuild()Builds the configured instance.ClouddeployTargetRun.Builderlocation(String location)Sets the value ofClouddeployTargetRun.getLocation()
-
-
-
Method Detail
-
location
@Stability(Stable) public ClouddeployTargetRun.Builder location(String location)
Sets the value ofClouddeployTargetRun.getLocation()- Parameters:
location- Required. The location where the Cloud Run Service should be located. Format isprojects/{project}/locations/{location}. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/clouddeploy_target#location ClouddeployTarget#location}- Returns:
this
-
build
@Stability(Stable) public ClouddeployTargetRun build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ClouddeployTargetRun>- Returns:
- a new instance of
ClouddeployTargetRun - Throws:
NullPointerException- if any required attribute was not provided
-
-