Class BigqueryTableConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • datasetId

        @Stability(Stable)
        public BigqueryTableConfig.Builder datasetId​(String datasetId)
        Parameters:
        datasetId - The dataset ID to create the table in. Changing this forces a new resource to be created. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#dataset_id BigqueryTable#dataset_id}
        Returns:
        this
      • tableId

        @Stability(Stable)
        public BigqueryTableConfig.Builder tableId​(String tableId)
        Parameters:
        tableId - A unique ID for the resource. Changing this forces a new resource to be created. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#table_id BigqueryTable#table_id}
        Returns:
        this
      • allowResourceTagsOnDeletion

        @Stability(Stable)
        public BigqueryTableConfig.Builder allowResourceTagsOnDeletion​(Boolean allowResourceTagsOnDeletion)
        Parameters:
        allowResourceTagsOnDeletion - Deprecated Whether or not to allow table deletion when there are still resource tags attached. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#allow_resource_tags_on_deletion BigqueryTable#allow_resource_tags_on_deletion}
        Returns:
        this
      • allowResourceTagsOnDeletion

        @Stability(Stable)
        public BigqueryTableConfig.Builder allowResourceTagsOnDeletion​(com.hashicorp.cdktf.IResolvable allowResourceTagsOnDeletion)
        Parameters:
        allowResourceTagsOnDeletion - Deprecated Whether or not to allow table deletion when there are still resource tags attached. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#allow_resource_tags_on_deletion BigqueryTable#allow_resource_tags_on_deletion}
        Returns:
        this
      • clustering

        @Stability(Stable)
        public BigqueryTableConfig.Builder clustering​(List<String> clustering)
        Parameters:
        clustering - Specifies column names to use for data clustering. Up to four top-level columns are allowed, and should be specified in descending priority order. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#clustering BigqueryTable#clustering}
        Returns:
        this
      • deletionProtection

        @Stability(Stable)
        public BigqueryTableConfig.Builder deletionProtection​(Boolean deletionProtection)
        Parameters:
        deletionProtection - Whether Terraform will be prevented from destroying the instance. When the field is set to true or unset in Terraform state, a terraform apply or terraform destroy that would delete the table will fail. When the field is set to false, deleting the table is allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#deletion_protection BigqueryTable#deletion_protection}
        Returns:
        this
      • deletionProtection

        @Stability(Stable)
        public BigqueryTableConfig.Builder deletionProtection​(com.hashicorp.cdktf.IResolvable deletionProtection)
        Parameters:
        deletionProtection - Whether Terraform will be prevented from destroying the instance. When the field is set to true or unset in Terraform state, a terraform apply or terraform destroy that would delete the table will fail. When the field is set to false, deleting the table is allowed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#deletion_protection BigqueryTable#deletion_protection}
        Returns:
        this
      • description

        @Stability(Stable)
        public BigqueryTableConfig.Builder description​(String description)
        Parameters:
        description - The field description. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#description BigqueryTable#description}
        Returns:
        this
      • expirationTime

        @Stability(Stable)
        public BigqueryTableConfig.Builder expirationTime​(Number expirationTime)
        Parameters:
        expirationTime - The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#expiration_time BigqueryTable#expiration_time}
        Returns:
        this
      • friendlyName

        @Stability(Stable)
        public BigqueryTableConfig.Builder friendlyName​(String friendlyName)
        Parameters:
        friendlyName - A descriptive name for the table. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#friendly_name BigqueryTable#friendly_name}
        Returns:
        this
      • id

        @Stability(Stable)
        public BigqueryTableConfig.Builder id​(String id)
        Sets the value of BigqueryTableConfig.getId()
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#id BigqueryTable#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
        Returns:
        this
      • labels

        @Stability(Stable)
        public BigqueryTableConfig.Builder labels​(Map<String,​String> labels)
        Parameters:
        labels - A mapping of labels to assign to the resource. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#labels BigqueryTable#labels}
        Returns:
        this
      • maxStaleness

        @Stability(Stable)
        public BigqueryTableConfig.Builder maxStaleness​(String maxStaleness)
        Parameters:
        maxStaleness - The maximum staleness of data that could be returned when the table (or stale MV) is queried. Staleness encoded as a string encoding of [SQL IntervalValue type](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#interval_type). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#max_staleness BigqueryTable#max_staleness}
        Returns:
        this
      • project

        @Stability(Stable)
        public BigqueryTableConfig.Builder project​(String project)
        Parameters:
        project - The ID of the project in which the resource belongs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#project BigqueryTable#project}
        Returns:
        this
      • requirePartitionFilter

        @Stability(Stable)
        public BigqueryTableConfig.Builder requirePartitionFilter​(Boolean requirePartitionFilter)
        Parameters:
        requirePartitionFilter - If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#require_partition_filter BigqueryTable#require_partition_filter}
        Returns:
        this
      • requirePartitionFilter

        @Stability(Stable)
        public BigqueryTableConfig.Builder requirePartitionFilter​(com.hashicorp.cdktf.IResolvable requirePartitionFilter)
        Parameters:
        requirePartitionFilter - If set to true, queries over this table require a partition filter that can be used for partition elimination to be specified. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#require_partition_filter BigqueryTable#require_partition_filter}
        Returns:
        this
      • resourceTags

        @Stability(Stable)
        public BigqueryTableConfig.Builder resourceTags​(Map<String,​String> resourceTags)
        Parameters:
        resourceTags - The tags attached to this table. Tag keys are globally unique. Tag key is expected to be in the namespaced format, for example "123456789012/environment" where 123456789012 is the ID of the parent organization or project resource for this tag key. Tag value is expected to be the short name, for example "Production". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#resource_tags BigqueryTable#resource_tags}
        Returns:
        this
      • schema

        @Stability(Stable)
        public BigqueryTableConfig.Builder schema​(String schema)
        Parameters:
        schema - A JSON schema for the table. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#schema BigqueryTable#schema}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public BigqueryTableConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public BigqueryTableConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public BigqueryTableConfig.Builder count​(Number count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public BigqueryTableConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public BigqueryTableConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public BigqueryTableConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public BigqueryTableConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public BigqueryTableConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public BigqueryTableConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this