Class AlloydbClusterRestoreContinuousBackupSource.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.alloydb_cluster.AlloydbClusterRestoreContinuousBackupSource.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<AlloydbClusterRestoreContinuousBackupSource>
- Enclosing interface:
- AlloydbClusterRestoreContinuousBackupSource
@Stability(Stable) public static final class AlloydbClusterRestoreContinuousBackupSource.Builder extends Object implements software.amazon.jsii.Builder<AlloydbClusterRestoreContinuousBackupSource>
A builder forAlloydbClusterRestoreContinuousBackupSource
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlloydbClusterRestoreContinuousBackupSourcebuild()Builds the configured instance.AlloydbClusterRestoreContinuousBackupSource.Buildercluster(String cluster)Sets the value ofAlloydbClusterRestoreContinuousBackupSource.getCluster()AlloydbClusterRestoreContinuousBackupSource.BuilderpointInTime(String pointInTime)Sets the value ofAlloydbClusterRestoreContinuousBackupSource.getPointInTime()
-
-
-
Method Detail
-
cluster
@Stability(Stable) public AlloydbClusterRestoreContinuousBackupSource.Builder cluster(String cluster)
Sets the value ofAlloydbClusterRestoreContinuousBackupSource.getCluster()- Parameters:
cluster- The name of the source cluster 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#cluster AlloydbCluster#cluster}- Returns:
this
-
pointInTime
@Stability(Stable) public AlloydbClusterRestoreContinuousBackupSource.Builder pointInTime(String pointInTime)
Sets the value ofAlloydbClusterRestoreContinuousBackupSource.getPointInTime()- Parameters:
pointInTime- The point in time that this cluster is restored to, in RFC 3339 format. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/alloydb_cluster#point_in_time AlloydbCluster#point_in_time}- Returns:
this
-
build
@Stability(Stable) public AlloydbClusterRestoreContinuousBackupSource build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AlloydbClusterRestoreContinuousBackupSource>- Returns:
- a new instance of
AlloydbClusterRestoreContinuousBackupSource - Throws:
NullPointerException- if any required attribute was not provided
-
-