Package com.pulumi.aws.rds.inputs
Class InstanceRestoreToPointInTimeArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.rds.inputs.InstanceRestoreToPointInTimeArgs.Builder
-
- Enclosing class:
- InstanceRestoreToPointInTimeArgs
public static final class InstanceRestoreToPointInTimeArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(InstanceRestoreToPointInTimeArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(InstanceRestoreToPointInTimeArgs defaults)
-
-
Method Detail
-
restoreTime
public InstanceRestoreToPointInTimeArgs.Builder restoreTime(@Nullable com.pulumi.core.Output<java.lang.String> restoreTime)
- Parameters:
restoreTime
- The date and time to restore from. Value must be a time in Universal Coordinated Time (UTC) format and must be before the latest restorable time for the DB instance. Cannot be specified with `use_latest_restorable_time`.- Returns:
- builder
-
restoreTime
public InstanceRestoreToPointInTimeArgs.Builder restoreTime(java.lang.String restoreTime)
- Parameters:
restoreTime
- The date and time to restore from. Value must be a time in Universal Coordinated Time (UTC) format and must be before the latest restorable time for the DB instance. Cannot be specified with `use_latest_restorable_time`.- Returns:
- builder
-
sourceDbInstanceAutomatedBackupsArn
public InstanceRestoreToPointInTimeArgs.Builder sourceDbInstanceAutomatedBackupsArn(@Nullable com.pulumi.core.Output<java.lang.String> sourceDbInstanceAutomatedBackupsArn)
- Parameters:
sourceDbInstanceAutomatedBackupsArn
- The ARN of the automated backup from which to restore. Required if `source_db_instance_identifier` or `source_dbi_resource_id` is not specified.- Returns:
- builder
-
sourceDbInstanceAutomatedBackupsArn
public InstanceRestoreToPointInTimeArgs.Builder sourceDbInstanceAutomatedBackupsArn(java.lang.String sourceDbInstanceAutomatedBackupsArn)
- Parameters:
sourceDbInstanceAutomatedBackupsArn
- The ARN of the automated backup from which to restore. Required if `source_db_instance_identifier` or `source_dbi_resource_id` is not specified.- Returns:
- builder
-
sourceDbInstanceIdentifier
public InstanceRestoreToPointInTimeArgs.Builder sourceDbInstanceIdentifier(@Nullable com.pulumi.core.Output<java.lang.String> sourceDbInstanceIdentifier)
- Parameters:
sourceDbInstanceIdentifier
- The identifier of the source DB instance from which to restore. Must match the identifier of an existing DB instance. Required if `source_db_instance_automated_backups_arn` or `source_dbi_resource_id` is not specified.- Returns:
- builder
-
sourceDbInstanceIdentifier
public InstanceRestoreToPointInTimeArgs.Builder sourceDbInstanceIdentifier(java.lang.String sourceDbInstanceIdentifier)
- Parameters:
sourceDbInstanceIdentifier
- The identifier of the source DB instance from which to restore. Must match the identifier of an existing DB instance. Required if `source_db_instance_automated_backups_arn` or `source_dbi_resource_id` is not specified.- Returns:
- builder
-
sourceDbiResourceId
public InstanceRestoreToPointInTimeArgs.Builder sourceDbiResourceId(@Nullable com.pulumi.core.Output<java.lang.String> sourceDbiResourceId)
- Parameters:
sourceDbiResourceId
- The resource ID of the source DB instance from which to restore. Required if `source_db_instance_identifier` or `source_db_instance_automated_backups_arn` is not specified.- Returns:
- builder
-
sourceDbiResourceId
public InstanceRestoreToPointInTimeArgs.Builder sourceDbiResourceId(java.lang.String sourceDbiResourceId)
- Parameters:
sourceDbiResourceId
- The resource ID of the source DB instance from which to restore. Required if `source_db_instance_identifier` or `source_db_instance_automated_backups_arn` is not specified.- Returns:
- builder
-
useLatestRestorableTime
public InstanceRestoreToPointInTimeArgs.Builder useLatestRestorableTime(@Nullable com.pulumi.core.Output<java.lang.Boolean> useLatestRestorableTime)
- Parameters:
useLatestRestorableTime
- A boolean value that indicates whether the DB instance is restored from the latest backup time. Defaults to `false`. Cannot be specified with `restore_time`.- Returns:
- builder
-
useLatestRestorableTime
public InstanceRestoreToPointInTimeArgs.Builder useLatestRestorableTime(java.lang.Boolean useLatestRestorableTime)
- Parameters:
useLatestRestorableTime
- A boolean value that indicates whether the DB instance is restored from the latest backup time. Defaults to `false`. Cannot be specified with `restore_time`.- Returns:
- builder
-
build
public InstanceRestoreToPointInTimeArgs build()
-
-