Class AlloydbClusterRestoreBackupSource.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterRestoreBackupSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterRestoreBackupSource>
- Enclosing interface:
- AlloydbClusterRestoreBackupSource
@Stability(Stable) public static final class AlloydbClusterRestoreBackupSource.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterRestoreBackupSource>
A builder forAlloydbClusterRestoreBackupSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterRestoreBackupSource.BuilderbackupName(String backupName)Sets the value ofAlloydbClusterRestoreBackupSource.getBackupName()AlloydbClusterRestoreBackupSourcebuild()Builds the configured instance.
-
-
-
Method Detail
-
backupName
@Stability(Stable) public AlloydbClusterRestoreBackupSource.Builder backupName(String backupName)
Sets the value ofAlloydbClusterRestoreBackupSource.getBackupName()- Parameters:
backupName- The name of the backup that this cluster is restored from. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#backup_name AlloydbCluster#backup_name}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterRestoreBackupSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterRestoreBackupSource>- Returns:
- a new instance of
AlloydbClusterRestoreBackupSource - Throws:
NullPointerException- if any required attribute was not provided
-
-