Class TableArgs.Builder

  • Enclosing class:
    TableArgs

    public static final class TableArgs.Builder
    extends java.lang.Object
    • 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