Class BigqueryJobConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_job.BigqueryJobConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryJobConfig>
- Enclosing interface:
- BigqueryJobConfig
@Stability(Stable) public static final class BigqueryJobConfig.Builder extends Object implements software.amazon.jsii.Builder<BigqueryJobConfig>
A builder forBigqueryJobConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryJobConfigbuild()Builds the configured instance.BigqueryJobConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BigqueryJobConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()BigqueryJobConfig.Buildercopy(BigqueryJobCopy copy)Sets the value ofBigqueryJobConfig.getCopy()BigqueryJobConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()BigqueryJobConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()BigqueryJobConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()BigqueryJobConfig.Builderextract(BigqueryJobExtract extract)Sets the value ofBigqueryJobConfig.getExtract()BigqueryJobConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()BigqueryJobConfig.Builderid(String id)Sets the value ofBigqueryJobConfig.getId()BigqueryJobConfig.BuilderjobId(String jobId)Sets the value ofBigqueryJobConfig.getJobId()BigqueryJobConfig.BuilderjobTimeoutMs(String jobTimeoutMs)Sets the value ofBigqueryJobConfig.getJobTimeoutMs()BigqueryJobConfig.Builderlabels(Map<String,String> labels)Sets the value ofBigqueryJobConfig.getLabels()BigqueryJobConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()BigqueryJobConfig.Builderload(BigqueryJobLoad load)Sets the value ofBigqueryJobConfig.getLoad()BigqueryJobConfig.Builderlocation(String location)Sets the value ofBigqueryJobConfig.getLocation()BigqueryJobConfig.Builderproject(String project)Sets the value ofBigqueryJobConfig.getProject()BigqueryJobConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()BigqueryJobConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()BigqueryJobConfig.Builderquery(BigqueryJobQuery query)Sets the value ofBigqueryJobConfig.getQuery()BigqueryJobConfig.Buildertimeouts(BigqueryJobTimeouts timeouts)Sets the value ofBigqueryJobConfig.getTimeouts()
-
-
-
Method Detail
-
jobId
@Stability(Stable) public BigqueryJobConfig.Builder jobId(String jobId)
Sets the value ofBigqueryJobConfig.getJobId()- Parameters:
jobId- The ID of the job. This parameter is required. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#job_id BigqueryJob#job_id}- Returns:
this
-
copy
@Stability(Stable) public BigqueryJobConfig.Builder copy(BigqueryJobCopy copy)
Sets the value ofBigqueryJobConfig.getCopy()- Parameters:
copy- copy block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#copy BigqueryJob#copy}- Returns:
this
-
extract
@Stability(Stable) public BigqueryJobConfig.Builder extract(BigqueryJobExtract extract)
Sets the value ofBigqueryJobConfig.getExtract()- Parameters:
extract- extract block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#extract BigqueryJob#extract}- Returns:
this
-
id
@Stability(Stable) public BigqueryJobConfig.Builder id(String id)
Sets the value ofBigqueryJobConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#id BigqueryJob#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
-
jobTimeoutMs
@Stability(Stable) public BigqueryJobConfig.Builder jobTimeoutMs(String jobTimeoutMs)
Sets the value ofBigqueryJobConfig.getJobTimeoutMs()- Parameters:
jobTimeoutMs- Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt to terminate the job. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#job_timeout_ms BigqueryJob#job_timeout_ms}- Returns:
this
-
labels
@Stability(Stable) public BigqueryJobConfig.Builder labels(Map<String,String> labels)
Sets the value ofBigqueryJobConfig.getLabels()- Parameters:
labels- The labels associated with this job. You can use these to organize and group your jobs. **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/bigquery_job#labels BigqueryJob#labels}- Returns:
this
-
load
@Stability(Stable) public BigqueryJobConfig.Builder load(BigqueryJobLoad load)
Sets the value ofBigqueryJobConfig.getLoad()- Parameters:
load- load block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#load BigqueryJob#load}- Returns:
this
-
location
@Stability(Stable) public BigqueryJobConfig.Builder location(String location)
Sets the value ofBigqueryJobConfig.getLocation()- Parameters:
location- The geographic location of the job. The default value is US. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#location BigqueryJob#location}- Returns:
this
-
project
@Stability(Stable) public BigqueryJobConfig.Builder project(String project)
Sets the value ofBigqueryJobConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#project BigqueryJob#project}.- Returns:
this
-
query
@Stability(Stable) public BigqueryJobConfig.Builder query(BigqueryJobQuery query)
Sets the value ofBigqueryJobConfig.getQuery()- Parameters:
query- query block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#query BigqueryJob#query}- Returns:
this
-
timeouts
@Stability(Stable) public BigqueryJobConfig.Builder timeouts(BigqueryJobTimeouts timeouts)
Sets the value ofBigqueryJobConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#timeouts BigqueryJob#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public BigqueryJobConfig.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 BigqueryJobConfig.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 BigqueryJobConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public BigqueryJobConfig.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 BigqueryJobConfig.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 BigqueryJobConfig.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 BigqueryJobConfig.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 BigqueryJobConfig.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 BigqueryJobConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public BigqueryJobConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryJobConfig>- Returns:
- a new instance of
BigqueryJobConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-