Class BigqueryTableTimePartitioning.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • type

        @Stability(Stable)
        public BigqueryTableTimePartitioning.Builder type​(String type)
        Parameters:
        type - The supported types are DAY, HOUR, MONTH, and YEAR, which will generate one partition per day, hour, month, and year, respectively. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#type BigqueryTable#type}
        Returns:
        this
      • expirationMs

        @Stability(Stable)
        public BigqueryTableTimePartitioning.Builder expirationMs​(Number expirationMs)
        Parameters:
        expirationMs - Number of milliseconds for which to keep the storage for a partition. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#expiration_ms BigqueryTable#expiration_ms}
        Returns:
        this
      • field

        @Stability(Stable)
        public BigqueryTableTimePartitioning.Builder field​(String field)
        Parameters:
        field - The field used to determine how to create a time-based partition. If time-based partitioning is enabled without this value, the table is partitioned based on the load time. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_table#field BigqueryTable#field}
        Returns:
        this
      • requirePartitionFilter

        @Stability(Stable)
        public BigqueryTableTimePartitioning.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 BigqueryTableTimePartitioning.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