Class BigqueryTableTableConstraints.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_table.BigqueryTableTableConstraints.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryTableTableConstraints>
- Enclosing interface:
- BigqueryTableTableConstraints
@Stability(Stable) public static final class BigqueryTableTableConstraints.Builder extends Object implements software.amazon.jsii.Builder<BigqueryTableTableConstraints>
A builder forBigqueryTableTableConstraints
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryTableTableConstraintsbuild()Builds the configured instance.BigqueryTableTableConstraints.BuilderforeignKeys(com.hashicorp.cdktf.IResolvable foreignKeys)Sets the value ofBigqueryTableTableConstraints.getForeignKeys()BigqueryTableTableConstraints.BuilderforeignKeys(List<? extends BigqueryTableTableConstraintsForeignKeys> foreignKeys)Sets the value ofBigqueryTableTableConstraints.getForeignKeys()BigqueryTableTableConstraints.BuilderprimaryKey(BigqueryTableTableConstraintsPrimaryKey primaryKey)Sets the value ofBigqueryTableTableConstraints.getPrimaryKey()
-
-
-
Method Detail
-
foreignKeys
@Stability(Stable) public BigqueryTableTableConstraints.Builder foreignKeys(com.hashicorp.cdktf.IResolvable foreignKeys)
Sets the value ofBigqueryTableTableConstraints.getForeignKeys()- Parameters:
foreignKeys- foreign_keys block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#foreign_keys BigqueryTable#foreign_keys}- Returns:
this
-
foreignKeys
@Stability(Stable) public BigqueryTableTableConstraints.Builder foreignKeys(List<? extends BigqueryTableTableConstraintsForeignKeys> foreignKeys)
Sets the value ofBigqueryTableTableConstraints.getForeignKeys()- Parameters:
foreignKeys- foreign_keys block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#foreign_keys BigqueryTable#foreign_keys}- Returns:
this
-
primaryKey
@Stability(Stable) public BigqueryTableTableConstraints.Builder primaryKey(BigqueryTableTableConstraintsPrimaryKey primaryKey)
Sets the value ofBigqueryTableTableConstraints.getPrimaryKey()- Parameters:
primaryKey- primary_key block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#primary_key BigqueryTable#primary_key}- Returns:
this
-
build
@Stability(Stable) public BigqueryTableTableConstraints build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryTableTableConstraints>- Returns:
- a new instance of
BigqueryTableTableConstraints - Throws:
NullPointerException- if any required attribute was not provided
-
-