Class BigtableTableAutomatedBackupPolicy.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigtable_table.BigtableTableAutomatedBackupPolicy.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigtableTableAutomatedBackupPolicy>
- Enclosing interface:
- BigtableTableAutomatedBackupPolicy
@Stability(Stable) public static final class BigtableTableAutomatedBackupPolicy.Builder extends Object implements software.amazon.jsii.Builder<BigtableTableAutomatedBackupPolicy>
A builder forBigtableTableAutomatedBackupPolicy
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigtableTableAutomatedBackupPolicybuild()Builds the configured instance.BigtableTableAutomatedBackupPolicy.Builderfrequency(String frequency)Sets the value ofBigtableTableAutomatedBackupPolicy.getFrequency()BigtableTableAutomatedBackupPolicy.BuilderretentionPeriod(String retentionPeriod)Sets the value ofBigtableTableAutomatedBackupPolicy.getRetentionPeriod()
-
-
-
Method Detail
-
frequency
@Stability(Stable) public BigtableTableAutomatedBackupPolicy.Builder frequency(String frequency)
Sets the value ofBigtableTableAutomatedBackupPolicy.getFrequency()- Parameters:
frequency- How frequently automated backups should occur. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#frequency BigtableTable#frequency}- Returns:
this
-
retentionPeriod
@Stability(Stable) public BigtableTableAutomatedBackupPolicy.Builder retentionPeriod(String retentionPeriod)
Sets the value ofBigtableTableAutomatedBackupPolicy.getRetentionPeriod()- Parameters:
retentionPeriod- How long the automated backups should be retained. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_table#retention_period BigtableTable#retention_period}- Returns:
this
-
build
@Stability(Stable) public BigtableTableAutomatedBackupPolicy build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigtableTableAutomatedBackupPolicy>- Returns:
- a new instance of
BigtableTableAutomatedBackupPolicy - Throws:
NullPointerException- if any required attribute was not provided
-
-