Class BigqueryJobCopy.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • sourceTables

        @Stability(Stable)
        public BigqueryJobCopy.Builder sourceTables​(com.hashicorp.cdktf.IResolvable sourceTables)
        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)
        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)
        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
      • writeDisposition

        @Stability(Stable)
        public BigqueryJobCopy.Builder writeDisposition​(String writeDisposition)
        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