Class ApphubWorkloadAttributesEnvironment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apphub_workload.ApphubWorkloadAttributesEnvironment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApphubWorkloadAttributesEnvironment>
- Enclosing interface:
- ApphubWorkloadAttributesEnvironment
@Stability(Stable) public static final class ApphubWorkloadAttributesEnvironment.Builder extends Object implements software.amazon.jsii.Builder<ApphubWorkloadAttributesEnvironment>
A builder forApphubWorkloadAttributesEnvironment
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApphubWorkloadAttributesEnvironmentbuild()Builds the configured instance.ApphubWorkloadAttributesEnvironment.Buildertype(String type)Sets the value ofApphubWorkloadAttributesEnvironment.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public ApphubWorkloadAttributesEnvironment.Builder type(String type)
Sets the value ofApphubWorkloadAttributesEnvironment.getType()- Parameters:
type- Environment type. Possible values: ["PRODUCTION", "STAGING", "TEST", "DEVELOPMENT"]. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/apphub_workload#type ApphubWorkload#type}- Returns:
this
-
build
@Stability(Stable) public ApphubWorkloadAttributesEnvironment build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApphubWorkloadAttributesEnvironment>- Returns:
- a new instance of
ApphubWorkloadAttributesEnvironment - Throws:
NullPointerException- if any required attribute was not provided
-
-