Package com.pulumi.gcp.bigquery.inputs
Class JobCopyArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.bigquery.inputs.JobCopyArgs.Builder
-
- Enclosing class:
- JobCopyArgs
public static final class JobCopyArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(JobCopyArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(JobCopyArgs defaults)
-
-
Method Detail
-
createDisposition
public JobCopyArgs.Builder createDisposition(@Nullable com.pulumi.core.Output<java.lang.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 is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.- Returns:
- builder
-
createDisposition
public JobCopyArgs.Builder createDisposition(java.lang.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 is `CREATE_IF_NEEDED`. Possible values are: `CREATE_IF_NEEDED`, `CREATE_NEVER`.- Returns:
- builder
-
destinationEncryptionConfiguration
public JobCopyArgs.Builder destinationEncryptionConfiguration(@Nullable com.pulumi.core.Output<JobCopyDestinationEncryptionConfigurationArgs> destinationEncryptionConfiguration)
- Parameters:
destinationEncryptionConfiguration
- Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.- Returns:
- builder
-
destinationEncryptionConfiguration
public JobCopyArgs.Builder destinationEncryptionConfiguration(JobCopyDestinationEncryptionConfigurationArgs destinationEncryptionConfiguration)
- Parameters:
destinationEncryptionConfiguration
- Custom encryption configuration (e.g., Cloud KMS keys) Structure is documented below.- Returns:
- builder
-
destinationTable
public JobCopyArgs.Builder destinationTable(@Nullable com.pulumi.core.Output<JobCopyDestinationTableArgs> destinationTable)
- Parameters:
destinationTable
- The destination table. Structure is documented below.- Returns:
- builder
-
destinationTable
public JobCopyArgs.Builder destinationTable(JobCopyDestinationTableArgs destinationTable)
- Parameters:
destinationTable
- The destination table. Structure is documented below.- Returns:
- builder
-
sourceTables
public JobCopyArgs.Builder sourceTables(com.pulumi.core.Output<java.util.List<JobCopySourceTableArgs>> sourceTables)
- Parameters:
sourceTables
- Source tables to copy. Structure is documented below.- Returns:
- builder
-
sourceTables
public JobCopyArgs.Builder sourceTables(java.util.List<JobCopySourceTableArgs> sourceTables)
- Parameters:
sourceTables
- Source tables to copy. Structure is documented below.- Returns:
- builder
-
sourceTables
public JobCopyArgs.Builder sourceTables(JobCopySourceTableArgs... sourceTables)
- Parameters:
sourceTables
- Source tables to copy. Structure is documented below.- Returns:
- builder
-
writeDisposition
public JobCopyArgs.Builder writeDisposition(@Nullable com.pulumi.core.Output<java.lang.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 is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.- Returns:
- builder
-
writeDisposition
public JobCopyArgs.Builder writeDisposition(java.lang.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 is `WRITE_EMPTY`. Possible values are: `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`.- Returns:
- builder
-
build
public JobCopyArgs build()
-
-