Class BigqueryConnectionConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_connection.BigqueryConnectionConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryConnectionConfig>
- Enclosing interface:
- BigqueryConnectionConfig
@Stability(Stable) public static final class BigqueryConnectionConfig.Builder extends Object implements software.amazon.jsii.Builder<BigqueryConnectionConfig>
A builder forBigqueryConnectionConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
aws
@Stability(Stable) public BigqueryConnectionConfig.Builder aws(BigqueryConnectionAws aws)
Sets the value ofBigqueryConnectionConfig.getAws()- Parameters:
aws- aws block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#aws BigqueryConnection#aws}- Returns:
this
-
azure
@Stability(Stable) public BigqueryConnectionConfig.Builder azure(BigqueryConnectionAzure azure)
Sets the value ofBigqueryConnectionConfig.getAzure()- Parameters:
azure- azure block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#azure BigqueryConnection#azure}- Returns:
this
-
cloudResource
@Stability(Stable) public BigqueryConnectionConfig.Builder cloudResource(BigqueryConnectionCloudResource cloudResource)
Sets the value ofBigqueryConnectionConfig.getCloudResource()- Parameters:
cloudResource- cloud_resource block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#cloud_resource BigqueryConnection#cloud_resource}- Returns:
this
-
cloudSpanner
@Stability(Stable) public BigqueryConnectionConfig.Builder cloudSpanner(BigqueryConnectionCloudSpanner cloudSpanner)
Sets the value ofBigqueryConnectionConfig.getCloudSpanner()- Parameters:
cloudSpanner- cloud_spanner block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#cloud_spanner BigqueryConnection#cloud_spanner}- Returns:
this
-
cloudSql
@Stability(Stable) public BigqueryConnectionConfig.Builder cloudSql(BigqueryConnectionCloudSql cloudSql)
Sets the value ofBigqueryConnectionConfig.getCloudSql()- Parameters:
cloudSql- cloud_sql block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#cloud_sql BigqueryConnection#cloud_sql}- Returns:
this
-
connectionId
@Stability(Stable) public BigqueryConnectionConfig.Builder connectionId(String connectionId)
Sets the value ofBigqueryConnectionConfig.getConnectionId()- Parameters:
connectionId- Optional connection id that should be assigned to the created connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#connection_id BigqueryConnection#connection_id}- Returns:
this
-
description
@Stability(Stable) public BigqueryConnectionConfig.Builder description(String description)
Sets the value ofBigqueryConnectionConfig.getDescription()- Parameters:
description- A descriptive description for the connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#description BigqueryConnection#description}- Returns:
this
-
friendlyName
@Stability(Stable) public BigqueryConnectionConfig.Builder friendlyName(String friendlyName)
Sets the value ofBigqueryConnectionConfig.getFriendlyName()- Parameters:
friendlyName- A descriptive name for the connection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#friendly_name BigqueryConnection#friendly_name}- Returns:
this
-
id
@Stability(Stable) public BigqueryConnectionConfig.Builder id(String id)
Sets the value ofBigqueryConnectionConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#id BigqueryConnection#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
-
kmsKeyName
@Stability(Stable) public BigqueryConnectionConfig.Builder kmsKeyName(String kmsKeyName)
Sets the value ofBigqueryConnectionConfig.getKmsKeyName()- Parameters:
kmsKeyName- Optional. The Cloud KMS key that is used for encryption. Example: projects/[kms_project_id]/locations/[region]/keyRings/[key_region]/cryptoKeys/[key] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#kms_key_name BigqueryConnection#kms_key_name}- Returns:
this
-
location
@Stability(Stable) public BigqueryConnectionConfig.Builder location(String location)
Sets the value ofBigqueryConnectionConfig.getLocation()- Parameters:
location- The geographic location where the connection should reside. Cloud SQL instance must be in the same location as the connection with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU. Examples: US, EU, asia-northeast1, us-central1, europe-west1. Spanner Connections same as spanner region AWS allowed regions are aws-us-east-1 Azure allowed regions are azure-eastus2 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#location BigqueryConnection#location}- Returns:
this
-
project
@Stability(Stable) public BigqueryConnectionConfig.Builder project(String project)
Sets the value ofBigqueryConnectionConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#project BigqueryConnection#project}.- Returns:
this
-
spark
@Stability(Stable) public BigqueryConnectionConfig.Builder spark(BigqueryConnectionSpark spark)
Sets the value ofBigqueryConnectionConfig.getSpark()- Parameters:
spark- spark block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#spark BigqueryConnection#spark}- Returns:
this
-
timeouts
@Stability(Stable) public BigqueryConnectionConfig.Builder timeouts(BigqueryConnectionTimeouts timeouts)
Sets the value ofBigqueryConnectionConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_connection#timeouts BigqueryConnection#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BigqueryConnectionConfig.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 BigqueryConnectionConfig.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 BigqueryConnectionConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BigqueryConnectionConfig.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 BigqueryConnectionConfig.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 BigqueryConnectionConfig.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 BigqueryConnectionConfig.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 BigqueryConnectionConfig.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 BigqueryConnectionConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BigqueryConnectionConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryConnectionConfig>- Returns:
- a new instance of
BigqueryConnectionConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-