Package com.pulumi.gcp.bigtable
Class TableArgs.Builder
- java.lang.Object
-
- com.pulumi.gcp.bigtable.TableArgs.Builder
-
- Enclosing class:
- TableArgs
public static final class TableArgs.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableArgs
build()
TableArgs.Builder
changeStreamRetention(com.pulumi.core.Output<java.lang.String> changeStreamRetention)
TableArgs.Builder
changeStreamRetention(java.lang.String changeStreamRetention)
TableArgs.Builder
columnFamilies(com.pulumi.core.Output<java.util.List<TableColumnFamilyArgs>> columnFamilies)
TableArgs.Builder
columnFamilies(TableColumnFamilyArgs... columnFamilies)
TableArgs.Builder
columnFamilies(java.util.List<TableColumnFamilyArgs> columnFamilies)
TableArgs.Builder
deletionProtection(com.pulumi.core.Output<java.lang.String> deletionProtection)
TableArgs.Builder
deletionProtection(java.lang.String deletionProtection)
TableArgs.Builder
instanceName(com.pulumi.core.Output<java.lang.String> instanceName)
TableArgs.Builder
instanceName(java.lang.String instanceName)
TableArgs.Builder
name(com.pulumi.core.Output<java.lang.String> name)
TableArgs.Builder
name(java.lang.String name)
TableArgs.Builder
project(com.pulumi.core.Output<java.lang.String> project)
TableArgs.Builder
project(java.lang.String project)
TableArgs.Builder
splitKeys(com.pulumi.core.Output<java.util.List<java.lang.String>> splitKeys)
TableArgs.Builder
splitKeys(java.lang.String... splitKeys)
TableArgs.Builder
splitKeys(java.util.List<java.lang.String> splitKeys)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(TableArgs defaults)
-
-
Method Detail
-
changeStreamRetention
public TableArgs.Builder changeStreamRetention(@Nullable com.pulumi.core.Output<java.lang.String> changeStreamRetention)
- Parameters:
changeStreamRetention
- Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days. ***- Returns:
- builder
-
changeStreamRetention
public TableArgs.Builder changeStreamRetention(java.lang.String changeStreamRetention)
- Parameters:
changeStreamRetention
- Duration to retain change stream data for the table. Set to 0 to disable. Must be between 1 and 7 days. ***- Returns:
- builder
-
columnFamilies
public TableArgs.Builder columnFamilies(@Nullable com.pulumi.core.Output<java.util.List<TableColumnFamilyArgs>> columnFamilies)
- Parameters:
columnFamilies
- A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.- Returns:
- builder
-
columnFamilies
public TableArgs.Builder columnFamilies(java.util.List<TableColumnFamilyArgs> columnFamilies)
- Parameters:
columnFamilies
- A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.- Returns:
- builder
-
columnFamilies
public TableArgs.Builder columnFamilies(TableColumnFamilyArgs... columnFamilies)
- Parameters:
columnFamilies
- A group of columns within a table which share a common configuration. This can be specified multiple times. Structure is documented below.- Returns:
- builder
-
deletionProtection
public TableArgs.Builder deletionProtection(@Nullable com.pulumi.core.Output<java.lang.String> deletionProtection)
- Parameters:
deletionProtection
- A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, deletion protection will be set to UNPROTECTED.- Returns:
- builder
-
deletionProtection
public TableArgs.Builder deletionProtection(java.lang.String deletionProtection)
- Parameters:
deletionProtection
- A field to make the table protected against data loss i.e. when set to PROTECTED, deleting the table, the column families in the table, and the instance containing the table would be prohibited. If not provided, deletion protection will be set to UNPROTECTED.- Returns:
- builder
-
instanceName
public TableArgs.Builder instanceName(com.pulumi.core.Output<java.lang.String> instanceName)
- Parameters:
instanceName
- The name of the Bigtable instance.- Returns:
- builder
-
instanceName
public TableArgs.Builder instanceName(java.lang.String instanceName)
- Parameters:
instanceName
- The name of the Bigtable instance.- Returns:
- builder
-
name
public TableArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name
- The name of the table. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.- Returns:
- builder
-
name
public TableArgs.Builder name(java.lang.String name)
- Parameters:
name
- The name of the table. Must be 1-50 characters and must only contain hyphens, underscores, periods, letters and numbers.- Returns:
- builder
-
project
public TableArgs.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 TableArgs.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
-
splitKeys
public TableArgs.Builder splitKeys(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> splitKeys)
- Parameters:
splitKeys
- A list of predefined keys to split the table on. !> **Warning:** Modifying the `split_keys` of an existing table will cause the provider to delete/recreate the entire `gcp.bigtable.Table` resource.- Returns:
- builder
-
splitKeys
public TableArgs.Builder splitKeys(java.util.List<java.lang.String> splitKeys)
- Parameters:
splitKeys
- A list of predefined keys to split the table on. !> **Warning:** Modifying the `split_keys` of an existing table will cause the provider to delete/recreate the entire `gcp.bigtable.Table` resource.- Returns:
- builder
-
splitKeys
public TableArgs.Builder splitKeys(java.lang.String... splitKeys)
- Parameters:
splitKeys
- A list of predefined keys to split the table on. !> **Warning:** Modifying the `split_keys` of an existing table will cause the provider to delete/recreate the entire `gcp.bigtable.Table` resource.- Returns:
- builder
-
build
public TableArgs build()
-
-