Class BigqueryJobExtract.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • destinationUris

        @Stability(Stable)
        public BigqueryJobExtract.Builder destinationUris​(List<String> destinationUris)
        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)
        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)
        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)
        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)
        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)
        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
      • useAvroLogicalTypes

        @Stability(Stable)
        public BigqueryJobExtract.Builder useAvroLogicalTypes​(Boolean useAvroLogicalTypes)
        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)
        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