Class BeyondcorpAppConnectorConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.beyondcorp_app_connector.BeyondcorpAppConnectorConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BeyondcorpAppConnectorConfig>
- Enclosing interface:
- BeyondcorpAppConnectorConfig
@Stability(Stable) public static final class BeyondcorpAppConnectorConfig.Builder extends Object implements software.amazon.jsii.Builder<BeyondcorpAppConnectorConfig>
A builder forBeyondcorpAppConnectorConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeyondcorpAppConnectorConfigbuild()Builds the configured instance.BeyondcorpAppConnectorConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BeyondcorpAppConnectorConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BeyondcorpAppConnectorConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()BeyondcorpAppConnectorConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()BeyondcorpAppConnectorConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()BeyondcorpAppConnectorConfig.BuilderdisplayName(String displayName)Sets the value ofBeyondcorpAppConnectorConfig.getDisplayName()BeyondcorpAppConnectorConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()BeyondcorpAppConnectorConfig.Builderid(String id)Sets the value ofBeyondcorpAppConnectorConfig.getId()BeyondcorpAppConnectorConfig.Builderlabels(Map<String,String> labels)Sets the value ofBeyondcorpAppConnectorConfig.getLabels()BeyondcorpAppConnectorConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()BeyondcorpAppConnectorConfig.Buildername(String name)Sets the value ofBeyondcorpAppConnectorConfig.getName()BeyondcorpAppConnectorConfig.BuilderprincipalInfo(BeyondcorpAppConnectorPrincipalInfo principalInfo)Sets the value ofBeyondcorpAppConnectorConfig.getPrincipalInfo()BeyondcorpAppConnectorConfig.Builderproject(String project)Sets the value ofBeyondcorpAppConnectorConfig.getProject()BeyondcorpAppConnectorConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()BeyondcorpAppConnectorConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()BeyondcorpAppConnectorConfig.Builderregion(String region)Sets the value ofBeyondcorpAppConnectorConfig.getRegion()BeyondcorpAppConnectorConfig.Buildertimeouts(BeyondcorpAppConnectorTimeouts timeouts)Sets the value ofBeyondcorpAppConnectorConfig.getTimeouts()
-
-
-
Method Detail
-
name
@Stability(Stable) public BeyondcorpAppConnectorConfig.Builder name(String name)
Sets the value ofBeyondcorpAppConnectorConfig.getName()- Parameters:
name- ID of the AppConnector. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connector#name BeyondcorpAppConnector#name}- Returns:
this
-
principalInfo
@Stability(Stable) public BeyondcorpAppConnectorConfig.Builder principalInfo(BeyondcorpAppConnectorPrincipalInfo principalInfo)
Sets the value ofBeyondcorpAppConnectorConfig.getPrincipalInfo()- Parameters:
principalInfo- principal_info block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connector#principal_info BeyondcorpAppConnector#principal_info}- Returns:
this
-
displayName
@Stability(Stable) public BeyondcorpAppConnectorConfig.Builder displayName(String displayName)
Sets the value ofBeyondcorpAppConnectorConfig.getDisplayName()- Parameters:
displayName- An arbitrary user-provided name for the AppConnector. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connector#display_name BeyondcorpAppConnector#display_name}- Returns:
this
-
id
@Stability(Stable) public BeyondcorpAppConnectorConfig.Builder id(String id)
Sets the value ofBeyondcorpAppConnectorConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connector#id BeyondcorpAppConnector#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 BeyondcorpAppConnectorConfig.Builder labels(Map<String,String> labels)
Sets the value ofBeyondcorpAppConnectorConfig.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_connector#labels BeyondcorpAppConnector#labels}- Returns:
this
-
project
@Stability(Stable) public BeyondcorpAppConnectorConfig.Builder project(String project)
Sets the value ofBeyondcorpAppConnectorConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connector#project BeyondcorpAppConnector#project}.- Returns:
this
-
region
@Stability(Stable) public BeyondcorpAppConnectorConfig.Builder region(String region)
Sets the value ofBeyondcorpAppConnectorConfig.getRegion()- Parameters:
region- The region of the AppConnector. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connector#region BeyondcorpAppConnector#region}- Returns:
this
-
timeouts
@Stability(Stable) public BeyondcorpAppConnectorConfig.Builder timeouts(BeyondcorpAppConnectorTimeouts timeouts)
Sets the value ofBeyondcorpAppConnectorConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connector#timeouts BeyondcorpAppConnector#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BeyondcorpAppConnectorConfig.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 BeyondcorpAppConnectorConfig.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 BeyondcorpAppConnectorConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BeyondcorpAppConnectorConfig.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 BeyondcorpAppConnectorConfig.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 BeyondcorpAppConnectorConfig.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 BeyondcorpAppConnectorConfig.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 BeyondcorpAppConnectorConfig.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 BeyondcorpAppConnectorConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BeyondcorpAppConnectorConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BeyondcorpAppConnectorConfig>- Returns:
- a new instance of
BeyondcorpAppConnectorConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-