Class BigqueryJobLoadTimePartitioning.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_job.BigqueryJobLoadTimePartitioning.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryJobLoadTimePartitioning>
- Enclosing interface:
- BigqueryJobLoadTimePartitioning
@Stability(Stable) public static final class BigqueryJobLoadTimePartitioning.Builder extends Object implements software.amazon.jsii.Builder<BigqueryJobLoadTimePartitioning>
A builder forBigqueryJobLoadTimePartitioning
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryJobLoadTimePartitioningbuild()Builds the configured instance.BigqueryJobLoadTimePartitioning.BuilderexpirationMs(String expirationMs)Sets the value ofBigqueryJobLoadTimePartitioning.getExpirationMs()BigqueryJobLoadTimePartitioning.Builderfield(String field)Sets the value ofBigqueryJobLoadTimePartitioning.getField()BigqueryJobLoadTimePartitioning.Buildertype(String type)Sets the value ofBigqueryJobLoadTimePartitioning.getType()
-
-
-
Method Detail
-
type
@Stability(Stable) public BigqueryJobLoadTimePartitioning.Builder type(String type)
Sets the value ofBigqueryJobLoadTimePartitioning.getType()- Parameters:
type- The only type supported is DAY, which will generate one partition per day. This parameter is required. Providing an empty string used to cause an error, but in OnePlatform the field will be treated as unset. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#type BigqueryJob#type}- Returns:
this
-
expirationMs
@Stability(Stable) public BigqueryJobLoadTimePartitioning.Builder expirationMs(String expirationMs)
Sets the value ofBigqueryJobLoadTimePartitioning.getExpirationMs()- Parameters:
expirationMs- Number of milliseconds for which to keep the storage for a partition. A wrapper is used here because 0 is an invalid value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#expiration_ms BigqueryJob#expiration_ms}- Returns:
this
-
field
@Stability(Stable) public BigqueryJobLoadTimePartitioning.Builder field(String field)
Sets the value ofBigqueryJobLoadTimePartitioning.getField()- Parameters:
field- If not set, the table is partitioned by pseudo column '_PARTITIONTIME';. if set, the table is partitioned by this field. The field must be a top-level TIMESTAMP or DATE field. Its mode must be NULLABLE or REQUIRED. A wrapper is used here because an empty string is an invalid value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_job#field BigqueryJob#field}- Returns:
this
-
build
@Stability(Stable) public BigqueryJobLoadTimePartitioning build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryJobLoadTimePartitioning>- Returns:
- a new instance of
BigqueryJobLoadTimePartitioning - Throws:
NullPointerException- if any required attribute was not provided
-
-