Class BigqueryJobExtract.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_job.BigqueryJobExtract.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryJobExtract>
- Enclosing interface:
- BigqueryJobExtract
@Stability(Stable) public static final class BigqueryJobExtract.Builder extends Object implements software.amazon.jsii.Builder<BigqueryJobExtract>
A builder forBigqueryJobExtract
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
destinationUris
@Stability(Stable) public BigqueryJobExtract.Builder destinationUris(List<String> destinationUris)
Sets the value ofBigqueryJobExtract.getDestinationUris()- Parameters:
destinationUris- A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#destination_uris BigqueryJob#destination_uris}- Returns:
this
-
compression
@Stability(Stable) public BigqueryJobExtract.Builder compression(String compression)
Sets the value ofBigqueryJobExtract.getCompression()- Parameters:
compression- The compression type to use for exported files. Possible values include GZIP, DEFLATE, SNAPPY, and NONE. The default value is NONE. DEFLATE and SNAPPY are only supported for Avro. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#compression BigqueryJob#compression}- Returns:
this
-
destinationFormat
@Stability(Stable) public BigqueryJobExtract.Builder destinationFormat(String destinationFormat)
Sets the value ofBigqueryJobExtract.getDestinationFormat()- Parameters:
destinationFormat- The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO for tables and SAVED_MODEL for models. The default value for tables is CSV. Tables with nested or repeated fields cannot be exported as CSV. The default value for models is SAVED_MODEL. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#destination_format BigqueryJob#destination_format}- Returns:
this
-
fieldDelimiter
@Stability(Stable) public BigqueryJobExtract.Builder fieldDelimiter(String fieldDelimiter)
Sets the value ofBigqueryJobExtract.getFieldDelimiter()- Parameters:
fieldDelimiter- When extracting data in CSV format, this defines the delimiter to use between fields in the exported data. Default is ',' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#field_delimiter BigqueryJob#field_delimiter}- Returns:
this
-
printHeader
@Stability(Stable) public BigqueryJobExtract.Builder printHeader(Boolean printHeader)
Sets the value ofBigqueryJobExtract.getPrintHeader()- Parameters:
printHeader- Whether to print out a header row in the results. Default is true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#print_header BigqueryJob#print_header}- Returns:
this
-
printHeader
@Stability(Stable) public BigqueryJobExtract.Builder printHeader(com.hashicorp.cdktf.IResolvable printHeader)
Sets the value ofBigqueryJobExtract.getPrintHeader()- Parameters:
printHeader- Whether to print out a header row in the results. Default is true. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#print_header BigqueryJob#print_header}- Returns:
this
-
sourceModel
@Stability(Stable) public BigqueryJobExtract.Builder sourceModel(BigqueryJobExtractSourceModel sourceModel)
Sets the value ofBigqueryJobExtract.getSourceModel()- Parameters:
sourceModel- source_model block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#source_model BigqueryJob#source_model}- Returns:
this
-
sourceTable
@Stability(Stable) public BigqueryJobExtract.Builder sourceTable(BigqueryJobExtractSourceTable sourceTable)
Sets the value ofBigqueryJobExtract.getSourceTable()- Parameters:
sourceTable- source_table block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#source_table BigqueryJob#source_table}- Returns:
this
-
useAvroLogicalTypes
@Stability(Stable) public BigqueryJobExtract.Builder useAvroLogicalTypes(Boolean useAvroLogicalTypes)
Sets the value ofBigqueryJobExtract.getUseAvroLogicalTypes()- Parameters:
useAvroLogicalTypes- Whether to use logical types when extracting to AVRO format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#use_avro_logical_types BigqueryJob#use_avro_logical_types}- Returns:
this
-
useAvroLogicalTypes
@Stability(Stable) public BigqueryJobExtract.Builder useAvroLogicalTypes(com.hashicorp.cdktf.IResolvable useAvroLogicalTypes)
Sets the value ofBigqueryJobExtract.getUseAvroLogicalTypes()- Parameters:
useAvroLogicalTypes- Whether to use logical types when extracting to AVRO format. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#use_avro_logical_types BigqueryJob#use_avro_logical_types}- Returns:
this
-
build
@Stability(Stable) public BigqueryJobExtract build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryJobExtract>- Returns:
- a new instance of
BigqueryJobExtract - Throws:
NullPointerException- if any required attribute was not provided
-
-