Package com.pulumi.gcp.bigquery.inputs
Class DatasetState.Builder
- java.lang.Object
-
- com.pulumi.gcp.bigquery.inputs.DatasetState.Builder
-
- Enclosing class:
- DatasetState
public static final class DatasetState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(DatasetState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetState.Builder
accesses(com.pulumi.core.Output<java.util.List<DatasetAccessArgs>> accesses)
DatasetState.Builder
accesses(DatasetAccessArgs... accesses)
DatasetState.Builder
accesses(java.util.List<DatasetAccessArgs> accesses)
DatasetState
build()
DatasetState.Builder
creationTime(com.pulumi.core.Output<java.lang.Integer> creationTime)
DatasetState.Builder
creationTime(java.lang.Integer creationTime)
DatasetState.Builder
datasetId(com.pulumi.core.Output<java.lang.String> datasetId)
DatasetState.Builder
datasetId(java.lang.String datasetId)
DatasetState.Builder
defaultCollation(com.pulumi.core.Output<java.lang.String> defaultCollation)
DatasetState.Builder
defaultCollation(java.lang.String defaultCollation)
DatasetState.Builder
defaultEncryptionConfiguration(com.pulumi.core.Output<DatasetDefaultEncryptionConfigurationArgs> defaultEncryptionConfiguration)
DatasetState.Builder
defaultEncryptionConfiguration(DatasetDefaultEncryptionConfigurationArgs defaultEncryptionConfiguration)
DatasetState.Builder
defaultPartitionExpirationMs(com.pulumi.core.Output<java.lang.Integer> defaultPartitionExpirationMs)
DatasetState.Builder
defaultPartitionExpirationMs(java.lang.Integer defaultPartitionExpirationMs)
DatasetState.Builder
defaultTableExpirationMs(com.pulumi.core.Output<java.lang.Integer> defaultTableExpirationMs)
DatasetState.Builder
defaultTableExpirationMs(java.lang.Integer defaultTableExpirationMs)
DatasetState.Builder
deleteContentsOnDestroy(com.pulumi.core.Output<java.lang.Boolean> deleteContentsOnDestroy)
DatasetState.Builder
deleteContentsOnDestroy(java.lang.Boolean deleteContentsOnDestroy)
DatasetState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
DatasetState.Builder
description(java.lang.String description)
DatasetState.Builder
etag(com.pulumi.core.Output<java.lang.String> etag)
DatasetState.Builder
etag(java.lang.String etag)
DatasetState.Builder
friendlyName(com.pulumi.core.Output<java.lang.String> friendlyName)
DatasetState.Builder
friendlyName(java.lang.String friendlyName)
DatasetState.Builder
isCaseInsensitive(com.pulumi.core.Output<java.lang.Boolean> isCaseInsensitive)
DatasetState.Builder
isCaseInsensitive(java.lang.Boolean isCaseInsensitive)
DatasetState.Builder
labels(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
DatasetState.Builder
labels(java.util.Map<java.lang.String,java.lang.String> labels)
DatasetState.Builder
lastModifiedTime(com.pulumi.core.Output<java.lang.Integer> lastModifiedTime)
DatasetState.Builder
lastModifiedTime(java.lang.Integer lastModifiedTime)
DatasetState.Builder
location(com.pulumi.core.Output<java.lang.String> location)
DatasetState.Builder
location(java.lang.String location)
DatasetState.Builder
maxTimeTravelHours(com.pulumi.core.Output<java.lang.String> maxTimeTravelHours)
DatasetState.Builder
maxTimeTravelHours(java.lang.String maxTimeTravelHours)
DatasetState.Builder
project(com.pulumi.core.Output<java.lang.String> project)
DatasetState.Builder
project(java.lang.String project)
DatasetState.Builder
selfLink(com.pulumi.core.Output<java.lang.String> selfLink)
DatasetState.Builder
selfLink(java.lang.String selfLink)
DatasetState.Builder
storageBillingModel(com.pulumi.core.Output<java.lang.String> storageBillingModel)
DatasetState.Builder
storageBillingModel(java.lang.String storageBillingModel)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DatasetState defaults)
-
-
Method Detail
-
accesses
public DatasetState.Builder accesses(@Nullable com.pulumi.core.Output<java.util.List<DatasetAccessArgs>> accesses)
- Parameters:
accesses
- An array of objects that define dataset access for one or more entities. Structure is documented below.- Returns:
- builder
-
accesses
public DatasetState.Builder accesses(java.util.List<DatasetAccessArgs> accesses)
- Parameters:
accesses
- An array of objects that define dataset access for one or more entities. Structure is documented below.- Returns:
- builder
-
accesses
public DatasetState.Builder accesses(DatasetAccessArgs... accesses)
- Parameters:
accesses
- An array of objects that define dataset access for one or more entities. Structure is documented below.- Returns:
- builder
-
creationTime
public DatasetState.Builder creationTime(@Nullable com.pulumi.core.Output<java.lang.Integer> creationTime)
- Parameters:
creationTime
- The time when this dataset was created, in milliseconds since the epoch.- Returns:
- builder
-
creationTime
public DatasetState.Builder creationTime(java.lang.Integer creationTime)
- Parameters:
creationTime
- The time when this dataset was created, in milliseconds since the epoch.- Returns:
- builder
-
datasetId
public DatasetState.Builder datasetId(@Nullable com.pulumi.core.Output<java.lang.String> datasetId)
- Parameters:
datasetId
- A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. ***- Returns:
- builder
-
datasetId
public DatasetState.Builder datasetId(java.lang.String datasetId)
- Parameters:
datasetId
- A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. ***- Returns:
- builder
-
defaultCollation
public DatasetState.Builder defaultCollation(@Nullable com.pulumi.core.Output<java.lang.String> defaultCollation)
- Parameters:
defaultCollation
- Defines the default collation specification of future tables created in the dataset. If a table is created in this dataset without table-level default collation, then the table inherits the dataset default collation, which is applied to the string fields that do not have explicit collation specified. A change to this field affects only tables created afterwards, and does not alter the existing tables. The following values are supported: - 'und:ci': undetermined locale, case insensitive. - '': empty string. Default to case-sensitive behavior.- Returns:
- builder
-
defaultCollation
public DatasetState.Builder defaultCollation(java.lang.String defaultCollation)
- Parameters:
defaultCollation
- Defines the default collation specification of future tables created in the dataset. If a table is created in this dataset without table-level default collation, then the table inherits the dataset default collation, which is applied to the string fields that do not have explicit collation specified. A change to this field affects only tables created afterwards, and does not alter the existing tables. The following values are supported: - 'und:ci': undetermined locale, case insensitive. - '': empty string. Default to case-sensitive behavior.- Returns:
- builder
-
defaultEncryptionConfiguration
public DatasetState.Builder defaultEncryptionConfiguration(@Nullable com.pulumi.core.Output<DatasetDefaultEncryptionConfigurationArgs> defaultEncryptionConfiguration)
- Parameters:
defaultEncryptionConfiguration
- The default encryption key for all tables in the dataset. Once this property is set, all newly-created partitioned tables in the dataset will have encryption key set to this value, unless table creation request (or query) overrides the key. Structure is documented below.- Returns:
- builder
-
defaultEncryptionConfiguration
public DatasetState.Builder defaultEncryptionConfiguration(DatasetDefaultEncryptionConfigurationArgs defaultEncryptionConfiguration)
- Parameters:
defaultEncryptionConfiguration
- The default encryption key for all tables in the dataset. Once this property is set, all newly-created partitioned tables in the dataset will have encryption key set to this value, unless table creation request (or query) overrides the key. Structure is documented below.- Returns:
- builder
-
defaultPartitionExpirationMs
public DatasetState.Builder defaultPartitionExpirationMs(@Nullable com.pulumi.core.Output<java.lang.Integer> defaultPartitionExpirationMs)
- Parameters:
defaultPartitionExpirationMs
- The default partition expiration for all partitioned tables in the dataset, in milliseconds. Once this property is set, all newly-created partitioned tables in the dataset will have an `expirationMs` property in the `timePartitioning` settings set to this value, and changing the value will only affect new tables, not existing ones. The storage in a partition will have an expiration time of its partition time plus this value. Setting this property overrides the use of `defaultTableExpirationMs` for partitioned tables: only one of `defaultTableExpirationMs` and `defaultPartitionExpirationMs` will be used for any new partitioned table. If you provide an explicit `timePartitioning.expirationMs` when creating or updating a partitioned table, that value takes precedence over the default partition expiration time indicated by this property.- Returns:
- builder
-
defaultPartitionExpirationMs
public DatasetState.Builder defaultPartitionExpirationMs(java.lang.Integer defaultPartitionExpirationMs)
- Parameters:
defaultPartitionExpirationMs
- The default partition expiration for all partitioned tables in the dataset, in milliseconds. Once this property is set, all newly-created partitioned tables in the dataset will have an `expirationMs` property in the `timePartitioning` settings set to this value, and changing the value will only affect new tables, not existing ones. The storage in a partition will have an expiration time of its partition time plus this value. Setting this property overrides the use of `defaultTableExpirationMs` for partitioned tables: only one of `defaultTableExpirationMs` and `defaultPartitionExpirationMs` will be used for any new partitioned table. If you provide an explicit `timePartitioning.expirationMs` when creating or updating a partitioned table, that value takes precedence over the default partition expiration time indicated by this property.- Returns:
- builder
-
defaultTableExpirationMs
public DatasetState.Builder defaultTableExpirationMs(@Nullable com.pulumi.core.Output<java.lang.Integer> defaultTableExpirationMs)
- Parameters:
defaultTableExpirationMs
- The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an `expirationTime` property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the `expirationTime` for a given table is reached, that table will be deleted automatically. If a table's `expirationTime` is modified or removed before the table expires, or if you provide an explicit `expirationTime` when creating a table, that value takes precedence over the default expiration time indicated by this property.- Returns:
- builder
-
defaultTableExpirationMs
public DatasetState.Builder defaultTableExpirationMs(java.lang.Integer defaultTableExpirationMs)
- Parameters:
defaultTableExpirationMs
- The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an `expirationTime` property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the `expirationTime` for a given table is reached, that table will be deleted automatically. If a table's `expirationTime` is modified or removed before the table expires, or if you provide an explicit `expirationTime` when creating a table, that value takes precedence over the default expiration time indicated by this property.- Returns:
- builder
-
deleteContentsOnDestroy
public DatasetState.Builder deleteContentsOnDestroy(@Nullable com.pulumi.core.Output<java.lang.Boolean> deleteContentsOnDestroy)
- Parameters:
deleteContentsOnDestroy
- If set to `true`, delete all the tables in the dataset when destroying the resource; otherwise, destroying the resource will fail if tables are present.- Returns:
- builder
-
deleteContentsOnDestroy
public DatasetState.Builder deleteContentsOnDestroy(java.lang.Boolean deleteContentsOnDestroy)
- Parameters:
deleteContentsOnDestroy
- If set to `true`, delete all the tables in the dataset when destroying the resource; otherwise, destroying the resource will fail if tables are present.- Returns:
- builder
-
description
public DatasetState.Builder description(@Nullable com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description
- A user-friendly description of the dataset- Returns:
- builder
-
description
public DatasetState.Builder description(java.lang.String description)
- Parameters:
description
- A user-friendly description of the dataset- Returns:
- builder
-
etag
public DatasetState.Builder etag(@Nullable com.pulumi.core.Output<java.lang.String> etag)
- Parameters:
etag
- A hash of the resource.- Returns:
- builder
-
etag
public DatasetState.Builder etag(java.lang.String etag)
- Parameters:
etag
- A hash of the resource.- Returns:
- builder
-
friendlyName
public DatasetState.Builder friendlyName(@Nullable com.pulumi.core.Output<java.lang.String> friendlyName)
- Parameters:
friendlyName
- A descriptive name for the dataset- Returns:
- builder
-
friendlyName
public DatasetState.Builder friendlyName(java.lang.String friendlyName)
- Parameters:
friendlyName
- A descriptive name for the dataset- Returns:
- builder
-
isCaseInsensitive
public DatasetState.Builder isCaseInsensitive(@Nullable com.pulumi.core.Output<java.lang.Boolean> isCaseInsensitive)
- Parameters:
isCaseInsensitive
- TRUE if the dataset and its table names are case-insensitive, otherwise FALSE. By default, this is FALSE, which means the dataset and its table names are case-sensitive. This field does not affect routine references.- Returns:
- builder
-
isCaseInsensitive
public DatasetState.Builder isCaseInsensitive(java.lang.Boolean isCaseInsensitive)
- Parameters:
isCaseInsensitive
- TRUE if the dataset and its table names are case-insensitive, otherwise FALSE. By default, this is FALSE, which means the dataset and its table names are case-sensitive. This field does not affect routine references.- Returns:
- builder
-
labels
public DatasetState.Builder labels(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> labels)
- Parameters:
labels
- The labels associated with this dataset. You can use these to organize and group your datasets- Returns:
- builder
-
labels
public DatasetState.Builder labels(java.util.Map<java.lang.String,java.lang.String> labels)
- Parameters:
labels
- The labels associated with this dataset. You can use these to organize and group your datasets- Returns:
- builder
-
lastModifiedTime
public DatasetState.Builder lastModifiedTime(@Nullable com.pulumi.core.Output<java.lang.Integer> lastModifiedTime)
- Parameters:
lastModifiedTime
- The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.- Returns:
- builder
-
lastModifiedTime
public DatasetState.Builder lastModifiedTime(java.lang.Integer lastModifiedTime)
- Parameters:
lastModifiedTime
- The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.- Returns:
- builder
-
location
public DatasetState.Builder location(@Nullable com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location
- The geographic location where the dataset should reside. See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations). There are two types of locations, regional or multi-regional. A regional location is a specific geographic place, such as Tokyo, and a multi-regional location is a large geographic area, such as the United States, that contains at least two geographic places. The default value is multi-regional location `US`. Changing this forces a new resource to be created.- Returns:
- builder
-
location
public DatasetState.Builder location(java.lang.String location)
- Parameters:
location
- The geographic location where the dataset should reside. See [official docs](https://cloud.google.com/bigquery/docs/dataset-locations). There are two types of locations, regional or multi-regional. A regional location is a specific geographic place, such as Tokyo, and a multi-regional location is a large geographic area, such as the United States, that contains at least two geographic places. The default value is multi-regional location `US`. Changing this forces a new resource to be created.- Returns:
- builder
-
maxTimeTravelHours
public DatasetState.Builder maxTimeTravelHours(@Nullable com.pulumi.core.Output<java.lang.String> maxTimeTravelHours)
- Parameters:
maxTimeTravelHours
- Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days).- Returns:
- builder
-
maxTimeTravelHours
public DatasetState.Builder maxTimeTravelHours(java.lang.String maxTimeTravelHours)
- Parameters:
maxTimeTravelHours
- Defines the time travel window in hours. The value can be from 48 to 168 hours (2 to 7 days).- Returns:
- builder
-
project
public DatasetState.Builder project(@Nullable com.pulumi.core.Output<java.lang.String> project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
project
public DatasetState.Builder project(java.lang.String project)
- Parameters:
project
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.- Returns:
- builder
-
selfLink
public DatasetState.Builder selfLink(@Nullable com.pulumi.core.Output<java.lang.String> selfLink)
- Parameters:
selfLink
- The URI of the created resource.- Returns:
- builder
-
selfLink
public DatasetState.Builder selfLink(java.lang.String selfLink)
- Parameters:
selfLink
- The URI of the created resource.- Returns:
- builder
-
storageBillingModel
public DatasetState.Builder storageBillingModel(@Nullable com.pulumi.core.Output<java.lang.String> storageBillingModel)
- Parameters:
storageBillingModel
- Specifies the storage billing model for the dataset. Set this flag value to LOGICAL to use logical bytes for storage billing, or to PHYSICAL to use physical bytes instead. LOGICAL is the default if this flag isn't specified.- Returns:
- builder
-
storageBillingModel
public DatasetState.Builder storageBillingModel(java.lang.String storageBillingModel)
- Parameters:
storageBillingModel
- Specifies the storage billing model for the dataset. Set this flag value to LOGICAL to use logical bytes for storage billing, or to PHYSICAL to use physical bytes instead. LOGICAL is the default if this flag isn't specified.- Returns:
- builder
-
build
public DatasetState build()
-
-