Class BeyondcorpAppConnectionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.beyondcorp_app_connection.BeyondcorpAppConnectionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BeyondcorpAppConnectionConfig>
- Enclosing interface:
- BeyondcorpAppConnectionConfig
@Stability(Stable) public static final class BeyondcorpAppConnectionConfig.Builder extends Object implements software.amazon.jsii.Builder<BeyondcorpAppConnectionConfig>
A builder forBeyondcorpAppConnectionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
applicationEndpoint
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder applicationEndpoint(BeyondcorpAppConnectionApplicationEndpoint applicationEndpoint)
Sets the value ofBeyondcorpAppConnectionConfig.getApplicationEndpoint()- Parameters:
applicationEndpoint- application_endpoint block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#application_endpoint BeyondcorpAppConnection#application_endpoint}- Returns:
this
-
name
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder name(String name)
Sets the value ofBeyondcorpAppConnectionConfig.getName()- Parameters:
name- ID of the AppConnection. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#name BeyondcorpAppConnection#name}- Returns:
this
-
connectors
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder connectors(List<String> connectors)
Sets the value ofBeyondcorpAppConnectionConfig.getConnectors()- Parameters:
connectors- List of AppConnectors that are authorised to be associated with this AppConnection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#connectors BeyondcorpAppConnection#connectors}- Returns:
this
-
displayName
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder displayName(String displayName)
Sets the value ofBeyondcorpAppConnectionConfig.getDisplayName()- Parameters:
displayName- An arbitrary user-provided name for the AppConnection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#display_name BeyondcorpAppConnection#display_name}- Returns:
this
-
gateway
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder gateway(BeyondcorpAppConnectionGateway gateway)
Sets the value ofBeyondcorpAppConnectionConfig.getGateway()- Parameters:
gateway- gateway block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#gateway BeyondcorpAppConnection#gateway}- Returns:
this
-
id
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder id(String id)
Sets the value ofBeyondcorpAppConnectionConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#id BeyondcorpAppConnection#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 BeyondcorpAppConnectionConfig.Builder labels(Map<String,String> labels)
Sets the value ofBeyondcorpAppConnectionConfig.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_connection#labels BeyondcorpAppConnection#labels}- Returns:
this
-
project
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder project(String project)
Sets the value ofBeyondcorpAppConnectionConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#project BeyondcorpAppConnection#project}.- Returns:
this
-
region
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder region(String region)
Sets the value ofBeyondcorpAppConnectionConfig.getRegion()- Parameters:
region- The region of the AppConnection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#region BeyondcorpAppConnection#region}- Returns:
this
-
timeouts
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder timeouts(BeyondcorpAppConnectionTimeouts timeouts)
Sets the value ofBeyondcorpAppConnectionConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#timeouts BeyondcorpAppConnection#timeouts}- Returns:
this
-
type
@Stability(Stable) public BeyondcorpAppConnectionConfig.Builder type(String type)
Sets the value ofBeyondcorpAppConnectionConfig.getType()- Parameters:
type- The type of network connectivity used by the AppConnection. Refer to https://cloud.google.com/beyondcorp/docs/reference/rest/v1/projects.locations.appConnections#type for a list of possible values. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/beyondcorp_app_connection#type BeyondcorpAppConnection#type}- Returns:
this
-
connection
@Stability(Experimental) public BeyondcorpAppConnectionConfig.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 BeyondcorpAppConnectionConfig.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 BeyondcorpAppConnectionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BeyondcorpAppConnectionConfig.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 BeyondcorpAppConnectionConfig.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 BeyondcorpAppConnectionConfig.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 BeyondcorpAppConnectionConfig.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 BeyondcorpAppConnectionConfig.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 BeyondcorpAppConnectionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BeyondcorpAppConnectionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BeyondcorpAppConnectionConfig>- Returns:
- a new instance of
BeyondcorpAppConnectionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-