Class DbInstanceRestoreToPointInTime.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.db_instance.DbInstanceRestoreToPointInTime.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DbInstanceRestoreToPointInTime>
- Enclosing interface:
- DbInstanceRestoreToPointInTime
@Stability(Stable) public static final class DbInstanceRestoreToPointInTime.Builder extends Object implements software.amazon.jsii.Builder<DbInstanceRestoreToPointInTime>
A builder forDbInstanceRestoreToPointInTime
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
restoreTime
@Stability(Stable) public DbInstanceRestoreToPointInTime.Builder restoreTime(String restoreTime)
Sets the value ofDbInstanceRestoreToPointInTime.getRestoreTime()- Parameters:
restoreTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_instance#restore_time DbInstance#restore_time}.- Returns:
this
-
sourceDbInstanceAutomatedBackupsArn
@Stability(Stable) public DbInstanceRestoreToPointInTime.Builder sourceDbInstanceAutomatedBackupsArn(String sourceDbInstanceAutomatedBackupsArn)
Sets the value ofDbInstanceRestoreToPointInTime.getSourceDbInstanceAutomatedBackupsArn()- Parameters:
sourceDbInstanceAutomatedBackupsArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_instance#source_db_instance_automated_backups_arn DbInstance#source_db_instance_automated_backups_arn}.- Returns:
this
-
sourceDbInstanceIdentifier
@Stability(Stable) public DbInstanceRestoreToPointInTime.Builder sourceDbInstanceIdentifier(String sourceDbInstanceIdentifier)
Sets the value ofDbInstanceRestoreToPointInTime.getSourceDbInstanceIdentifier()- Parameters:
sourceDbInstanceIdentifier- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_instance#source_db_instance_identifier DbInstance#source_db_instance_identifier}.- Returns:
this
-
sourceDbiResourceId
@Stability(Stable) public DbInstanceRestoreToPointInTime.Builder sourceDbiResourceId(String sourceDbiResourceId)
Sets the value ofDbInstanceRestoreToPointInTime.getSourceDbiResourceId()- Parameters:
sourceDbiResourceId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_instance#source_dbi_resource_id DbInstance#source_dbi_resource_id}.- Returns:
this
-
useLatestRestorableTime
@Stability(Stable) public DbInstanceRestoreToPointInTime.Builder useLatestRestorableTime(Boolean useLatestRestorableTime)
Sets the value ofDbInstanceRestoreToPointInTime.getUseLatestRestorableTime()- Parameters:
useLatestRestorableTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_instance#use_latest_restorable_time DbInstance#use_latest_restorable_time}.- Returns:
this
-
useLatestRestorableTime
@Stability(Stable) public DbInstanceRestoreToPointInTime.Builder useLatestRestorableTime(com.hashicorp.cdktf.IResolvable useLatestRestorableTime)
Sets the value ofDbInstanceRestoreToPointInTime.getUseLatestRestorableTime()- Parameters:
useLatestRestorableTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/db_instance#use_latest_restorable_time DbInstance#use_latest_restorable_time}.- Returns:
this
-
build
@Stability(Stable) public DbInstanceRestoreToPointInTime build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DbInstanceRestoreToPointInTime>- Returns:
- a new instance of
DbInstanceRestoreToPointInTime - Throws:
NullPointerException- if any required attribute was not provided
-
-