Class BigqueryTableExternalDataConfigurationCsvOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_table.BigqueryTableExternalDataConfigurationCsvOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryTableExternalDataConfigurationCsvOptions>
- Enclosing interface:
- BigqueryTableExternalDataConfigurationCsvOptions
@Stability(Stable) public static final class BigqueryTableExternalDataConfigurationCsvOptions.Builder extends Object implements software.amazon.jsii.Builder<BigqueryTableExternalDataConfigurationCsvOptions>
A builder forBigqueryTableExternalDataConfigurationCsvOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
quote
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder quote(String quote)
Sets the value ofBigqueryTableExternalDataConfigurationCsvOptions.getQuote()- Parameters:
quote- The value that is used to quote data sections in a CSV file. This parameter is required. If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allow_quoted_newlines property to true. The API-side default is ", specified in Terraform escaped as ". Due to limitations with Terraform default values, this value is required to be explicitly set. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#quote BigqueryTable#quote}- Returns:
this
-
allowJaggedRows
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder allowJaggedRows(Boolean allowJaggedRows)
Sets the value ofBigqueryTableExternalDataConfigurationCsvOptions.getAllowJaggedRows()- Parameters:
allowJaggedRows- Indicates if BigQuery should accept rows that are missing trailing optional columns. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#allow_jagged_rows BigqueryTable#allow_jagged_rows}- Returns:
this
-
allowJaggedRows
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder allowJaggedRows(com.hashicorp.cdktf.IResolvable allowJaggedRows)
Sets the value ofBigqueryTableExternalDataConfigurationCsvOptions.getAllowJaggedRows()- Parameters:
allowJaggedRows- Indicates if BigQuery should accept rows that are missing trailing optional columns. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#allow_jagged_rows BigqueryTable#allow_jagged_rows}- Returns:
this
-
allowQuotedNewlines
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder allowQuotedNewlines(Boolean allowQuotedNewlines)
- Parameters:
allowQuotedNewlines- Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#allow_quoted_newlines BigqueryTable#allow_quoted_newlines}- Returns:
this
-
allowQuotedNewlines
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder allowQuotedNewlines(com.hashicorp.cdktf.IResolvable allowQuotedNewlines)
- Parameters:
allowQuotedNewlines- Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#allow_quoted_newlines BigqueryTable#allow_quoted_newlines}- Returns:
this
-
encoding
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder encoding(String encoding)
Sets the value ofBigqueryTableExternalDataConfigurationCsvOptions.getEncoding()- Parameters:
encoding- The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#encoding BigqueryTable#encoding}- Returns:
this
-
fieldDelimiter
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder fieldDelimiter(String fieldDelimiter)
Sets the value ofBigqueryTableExternalDataConfigurationCsvOptions.getFieldDelimiter()- Parameters:
fieldDelimiter- The separator for fields in a CSV file. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#field_delimiter BigqueryTable#field_delimiter}- Returns:
this
-
skipLeadingRows
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions.Builder skipLeadingRows(Number skipLeadingRows)
Sets the value ofBigqueryTableExternalDataConfigurationCsvOptions.getSkipLeadingRows()- Parameters:
skipLeadingRows- The number of rows at the top of a CSV file that BigQuery will skip when reading the data. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#skip_leading_rows BigqueryTable#skip_leading_rows}- Returns:
this
-
build
@Stability(Stable) public BigqueryTableExternalDataConfigurationCsvOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryTableExternalDataConfigurationCsvOptions>- Returns:
- a new instance of
BigqueryTableExternalDataConfigurationCsvOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-