Class AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention>
- Enclosing interface:
- AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention
@Stability(Stable) public static final class AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterAutomatedBackupPolicyQuantityBasedRetentionbuild()Builds the configured instance.AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention.Buildercount(Number count)Sets the value ofAlloydbClusterAutomatedBackupPolicyQuantityBasedRetention.getCount()
-
-
-
Method Detail
-
count
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention.Builder count(Number count)
Sets the value ofAlloydbClusterAutomatedBackupPolicyQuantityBasedRetention.getCount()- Parameters:
count- The number of backups to retain. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#count AlloydbCluster#count}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention>- Returns:
- a new instance of
AlloydbClusterAutomatedBackupPolicyQuantityBasedRetention - Throws:
NullPointerException- if any required attribute was not provided
-
-