Class BeyondcorpAppGatewayConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.beyondcorp_app_gateway.BeyondcorpAppGatewayConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BeyondcorpAppGatewayConfig>
- Enclosing interface:
- BeyondcorpAppGatewayConfig
@Stability(Stable) public static final class BeyondcorpAppGatewayConfig.Builder extends Object implements software.amazon.jsii.Builder<BeyondcorpAppGatewayConfig>
A builder forBeyondcorpAppGatewayConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeyondcorpAppGatewayConfigbuild()Builds the configured instance.BeyondcorpAppGatewayConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BeyondcorpAppGatewayConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BeyondcorpAppGatewayConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()BeyondcorpAppGatewayConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()BeyondcorpAppGatewayConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()BeyondcorpAppGatewayConfig.BuilderdisplayName(String displayName)Sets the value ofBeyondcorpAppGatewayConfig.getDisplayName()BeyondcorpAppGatewayConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()BeyondcorpAppGatewayConfig.BuilderhostType(String hostType)Sets the value ofBeyondcorpAppGatewayConfig.getHostType()BeyondcorpAppGatewayConfig.Builderid(String id)Sets the value ofBeyondcorpAppGatewayConfig.getId()BeyondcorpAppGatewayConfig.Builderlabels(Map<String,String> labels)Sets the value ofBeyondcorpAppGatewayConfig.getLabels()BeyondcorpAppGatewayConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()BeyondcorpAppGatewayConfig.Buildername(String name)Sets the value ofBeyondcorpAppGatewayConfig.getName()BeyondcorpAppGatewayConfig.Builderproject(String project)Sets the value ofBeyondcorpAppGatewayConfig.getProject()BeyondcorpAppGatewayConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()BeyondcorpAppGatewayConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()BeyondcorpAppGatewayConfig.Builderregion(String region)Sets the value ofBeyondcorpAppGatewayConfig.getRegion()BeyondcorpAppGatewayConfig.Buildertimeouts(BeyondcorpAppGatewayTimeouts timeouts)Sets the value ofBeyondcorpAppGatewayConfig.getTimeouts()BeyondcorpAppGatewayConfig.Buildertype(String type)Sets the value ofBeyondcorpAppGatewayConfig.getType()
-
-
-
Method Detail
-
name
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder name(String name)
Sets the value ofBeyondcorpAppGatewayConfig.getName()- Parameters:
name- ID of the AppGateway. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#name BeyondcorpAppGateway#name}- Returns:
this
-
displayName
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder displayName(String displayName)
Sets the value ofBeyondcorpAppGatewayConfig.getDisplayName()- Parameters:
displayName- An arbitrary user-provided name for the AppGateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#display_name BeyondcorpAppGateway#display_name}- Returns:
this
-
hostType
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder hostType(String hostType)
Sets the value ofBeyondcorpAppGatewayConfig.getHostType()- Parameters:
hostType- The type of hosting used by the AppGateway. Default value: "HOST_TYPE_UNSPECIFIED" Possible values: ["HOST_TYPE_UNSPECIFIED", "GCP_REGIONAL_MIG"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#host_type BeyondcorpAppGateway#host_type}- Returns:
this
-
id
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder id(String id)
Sets the value ofBeyondcorpAppGatewayConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#id BeyondcorpAppGateway#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
labels
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder labels(Map<String,String> labels)
Sets the value ofBeyondcorpAppGatewayConfig.getLabels()- Parameters:
labels- Resource labels to represent user provided metadata. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#labels BeyondcorpAppGateway#labels}- Returns:
this
-
project
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder project(String project)
Sets the value ofBeyondcorpAppGatewayConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#project BeyondcorpAppGateway#project}.- Returns:
this
-
region
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder region(String region)
Sets the value ofBeyondcorpAppGatewayConfig.getRegion()- Parameters:
region- The region of the AppGateway. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#region BeyondcorpAppGateway#region}- Returns:
this
-
timeouts
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder timeouts(BeyondcorpAppGatewayTimeouts timeouts)
Sets the value ofBeyondcorpAppGatewayConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#timeouts BeyondcorpAppGateway#timeouts}- Returns:
this
-
type
@Stability(Stable) public BeyondcorpAppGatewayConfig.Builder type(String type)
Sets the value ofBeyondcorpAppGatewayConfig.getType()- Parameters:
type- The type of network connectivity used by the AppGateway. Default value: "TYPE_UNSPECIFIED" Possible values: ["TYPE_UNSPECIFIED", "TCP_PROXY"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_gateway#type BeyondcorpAppGateway#type}- Returns:
this
-
connection
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public BeyondcorpAppGatewayConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BeyondcorpAppGatewayConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BeyondcorpAppGatewayConfig>- Returns:
- a new instance of
BeyondcorpAppGatewayConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-