Class BigqueryJobCopy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_job.BigqueryJobCopy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryJobCopy>
- Enclosing interface:
- BigqueryJobCopy
@Stability(Stable) public static final class BigqueryJobCopy.Builder extends Object implements software.amazon.jsii.Builder<BigqueryJobCopy>
A builder forBigqueryJobCopy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
sourceTables
@Stability(Stable) public BigqueryJobCopy.Builder sourceTables(com.hashicorp.cdktf.IResolvable sourceTables)
Sets the value ofBigqueryJobCopy.getSourceTables()- Parameters:
sourceTables- source_tables block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#source_tables BigqueryJob#source_tables}- Returns:
this
-
sourceTables
@Stability(Stable) public BigqueryJobCopy.Builder sourceTables(List<? extends BigqueryJobCopySourceTables> sourceTables)
Sets the value ofBigqueryJobCopy.getSourceTables()- Parameters:
sourceTables- source_tables block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#source_tables BigqueryJob#source_tables}- Returns:
this
-
createDisposition
@Stability(Stable) public BigqueryJobCopy.Builder createDisposition(String createDisposition)
Sets the value ofBigqueryJobCopy.getCreateDisposition()- Parameters:
createDisposition- Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. Creation, truncation and append actions occur as one atomic update upon job completion Default value: "CREATE_IF_NEEDED" Possible values: ["CREATE_IF_NEEDED", "CREATE_NEVER"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#create_disposition BigqueryJob#create_disposition}- Returns:
this
-
destinationEncryptionConfiguration
@Stability(Stable) public BigqueryJobCopy.Builder destinationEncryptionConfiguration(BigqueryJobCopyDestinationEncryptionConfiguration destinationEncryptionConfiguration)
Sets the value ofBigqueryJobCopy.getDestinationEncryptionConfiguration()- Parameters:
destinationEncryptionConfiguration- destination_encryption_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#destination_encryption_configuration BigqueryJob#destination_encryption_configuration}- Returns:
this
-
destinationTable
@Stability(Stable) public BigqueryJobCopy.Builder destinationTable(BigqueryJobCopyDestinationTable destinationTable)
Sets the value ofBigqueryJobCopy.getDestinationTable()- Parameters:
destinationTable- destination_table block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#destination_table BigqueryJob#destination_table}- Returns:
this
-
writeDisposition
@Stability(Stable) public BigqueryJobCopy.Builder writeDisposition(String writeDisposition)
Sets the value ofBigqueryJobCopy.getWriteDisposition()- Parameters:
writeDisposition- Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data and uses the schema from the query result. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion. Default value: "WRITE_EMPTY" Possible values: ["WRITE_TRUNCATE", "WRITE_APPEND", "WRITE_EMPTY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#write_disposition BigqueryJob#write_disposition}- Returns:
this
-
build
@Stability(Stable) public BigqueryJobCopy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryJobCopy>- Returns:
- a new instance of
BigqueryJobCopy - Throws:
NullPointerException- if any required attribute was not provided
-
-