Class BigqueryTableView.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_table.BigqueryTableView.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryTableView>
- Enclosing interface:
- BigqueryTableView
@Stability(Stable) public static final class BigqueryTableView.Builder extends Object implements software.amazon.jsii.Builder<BigqueryTableView>
A builder forBigqueryTableView
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryTableViewbuild()Builds the configured instance.BigqueryTableView.Builderquery(String query)Sets the value ofBigqueryTableView.getQuery()BigqueryTableView.BuilderuseLegacySql(com.hashicorp.cdktf.IResolvable useLegacySql)Sets the value ofBigqueryTableView.getUseLegacySql()BigqueryTableView.BuilderuseLegacySql(Boolean useLegacySql)Sets the value ofBigqueryTableView.getUseLegacySql()
-
-
-
Method Detail
-
query
@Stability(Stable) public BigqueryTableView.Builder query(String query)
Sets the value ofBigqueryTableView.getQuery()- Parameters:
query- A query that BigQuery executes when the view is referenced. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#query BigqueryTable#query}- Returns:
this
-
useLegacySql
@Stability(Stable) public BigqueryTableView.Builder useLegacySql(Boolean useLegacySql)
Sets the value ofBigqueryTableView.getUseLegacySql()- Parameters:
useLegacySql- Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#use_legacy_sql BigqueryTable#use_legacy_sql}- Returns:
this
-
useLegacySql
@Stability(Stable) public BigqueryTableView.Builder useLegacySql(com.hashicorp.cdktf.IResolvable useLegacySql)
Sets the value ofBigqueryTableView.getUseLegacySql()- Parameters:
useLegacySql- Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#use_legacy_sql BigqueryTable#use_legacy_sql}- Returns:
this
-
build
@Stability(Stable) public BigqueryTableView build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryTableView>- Returns:
- a new instance of
BigqueryTableView - Throws:
NullPointerException- if any required attribute was not provided
-
-