Class ApphubServiceAttributesEnvironment.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.apphub_service.ApphubServiceAttributesEnvironment.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ApphubServiceAttributesEnvironment>
- Enclosing interface:
- ApphubServiceAttributesEnvironment
@Stability(Stable) public static final class ApphubServiceAttributesEnvironment.Builder extends Object implements software.amazon.jsii.Builder<ApphubServiceAttributesEnvironment>
A builder forApphubServiceAttributesEnvironment
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApphubServiceAttributesEnvironmentbuild()Builds the configured instance.ApphubServiceAttributesEnvironment.Buildertype(String type)Sets the value ofApphubServiceAttributesEnvironment.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public ApphubServiceAttributesEnvironment.Builder type(String type)
Sets the value ofApphubServiceAttributesEnvironment.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_service#type ApphubService#type}- Returns:
this
-
build
@Stability(Stable) public ApphubServiceAttributesEnvironment build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ApphubServiceAttributesEnvironment>- Returns:
- a new instance of
ApphubServiceAttributesEnvironment - Throws:
NullPointerException- if any required attribute was not provided
-
-