Class AlloydbClusterAutomatedBackupPolicyTimeBasedRetention.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterAutomatedBackupPolicyTimeBasedRetention.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyTimeBasedRetention>
- Enclosing interface:
- AlloydbClusterAutomatedBackupPolicyTimeBasedRetention
@Stability(Stable) public static final class AlloydbClusterAutomatedBackupPolicyTimeBasedRetention.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyTimeBasedRetention>
A builder forAlloydbClusterAutomatedBackupPolicyTimeBasedRetention
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterAutomatedBackupPolicyTimeBasedRetentionbuild()Builds the configured instance.AlloydbClusterAutomatedBackupPolicyTimeBasedRetention.BuilderretentionPeriod(String retentionPeriod)
-
-
-
Method Detail
-
retentionPeriod
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyTimeBasedRetention.Builder retentionPeriod(String retentionPeriod)
- Parameters:
retentionPeriod- The retention period. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#retention_period AlloydbCluster#retention_period}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterAutomatedBackupPolicyTimeBasedRetention build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterAutomatedBackupPolicyTimeBasedRetention>- Returns:
- a new instance of
AlloydbClusterAutomatedBackupPolicyTimeBasedRetention - Throws:
NullPointerException- if any required attribute was not provided
-
-