#[non_exhaustive]pub struct DbInstanceAutomatedBackupBuilder { /* private fields */ }Expand description
A builder for DbInstanceAutomatedBackup.
Implementations§
source§impl DbInstanceAutomatedBackupBuilder
impl DbInstanceAutomatedBackupBuilder
sourcepub fn db_instance_arn(self, input: impl Into<String>) -> Self
pub fn db_instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the automated backups.
sourcepub fn set_db_instance_arn(self, input: Option<String>) -> Self
pub fn set_db_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the automated backups.
sourcepub fn dbi_resource_id(self, input: impl Into<String>) -> Self
pub fn dbi_resource_id(self, input: impl Into<String>) -> Self
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
sourcepub fn set_dbi_resource_id(self, input: Option<String>) -> Self
pub fn set_dbi_resource_id(self, input: Option<String>) -> Self
The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
The Amazon Web Services Region associated with the automated backup.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
The Amazon Web Services Region associated with the automated backup.
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
The customer id of the instance that is/was associated with the automated backup.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
The customer id of the instance that is/was associated with the automated backup.
sourcepub fn restore_window(self, input: RestoreWindow) -> Self
pub fn restore_window(self, input: RestoreWindow) -> Self
Earliest and latest time an instance can be restored to.
sourcepub fn set_restore_window(self, input: Option<RestoreWindow>) -> Self
pub fn set_restore_window(self, input: Option<RestoreWindow>) -> Self
Earliest and latest time an instance can be restored to.
sourcepub fn allocated_storage(self, input: i32) -> Self
pub fn allocated_storage(self, input: i32) -> Self
Specifies the allocated storage size in gibibytes (GiB).
sourcepub fn set_allocated_storage(self, input: Option<i32>) -> Self
pub fn set_allocated_storage(self, input: Option<i32>) -> Self
Specifies the allocated storage size in gibibytes (GiB).
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
Provides a list of status information for an automated backup:
-
active- automated backups for current instances -
retained- automated backups for deleted instances -
creating- automated backups that are waiting for the first automated snapshot to be available.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
Provides a list of status information for an automated backup:
-
active- automated backups for current instances -
retained- automated backups for deleted instances -
creating- automated backups that are waiting for the first automated snapshot to be available.
sourcepub fn port(self, input: i32) -> Self
pub fn port(self, input: i32) -> Self
The port number that the automated backup used for connections.
Default: Inherits from the source DB instance
Valid Values: 1150-65535
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
The port number that the automated backup used for connections.
Default: Inherits from the source DB instance
Valid Values: 1150-65535
sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone that the automated backup was created in. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone that the automated backup was created in. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
Provides the VPC ID associated with the DB instance.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
Provides the VPC ID associated with the DB instance.
sourcepub fn instance_create_time(self, input: DateTime) -> Self
pub fn instance_create_time(self, input: DateTime) -> Self
Provides the date and time that the DB instance was created.
sourcepub fn set_instance_create_time(self, input: Option<DateTime>) -> Self
pub fn set_instance_create_time(self, input: Option<DateTime>) -> Self
Provides the date and time that the DB instance was created.
sourcepub fn master_username(self, input: impl Into<String>) -> Self
pub fn master_username(self, input: impl Into<String>) -> Self
The license model of an automated backup.
sourcepub fn set_master_username(self, input: Option<String>) -> Self
pub fn set_master_username(self, input: Option<String>) -> Self
The license model of an automated backup.
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The name of the database engine for this automated backup.
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The name of the database engine for this automated backup.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The version of the database engine for the automated backup.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The version of the database engine for the automated backup.
sourcepub fn license_model(self, input: impl Into<String>) -> Self
pub fn license_model(self, input: impl Into<String>) -> Self
License model information for the automated backup.
sourcepub fn set_license_model(self, input: Option<String>) -> Self
pub fn set_license_model(self, input: Option<String>) -> Self
License model information for the automated backup.
sourcepub fn iops(self, input: i32) -> Self
pub fn iops(self, input: i32) -> Self
The IOPS (I/O operations per second) value for the automated backup.
sourcepub fn set_iops(self, input: Option<i32>) -> Self
pub fn set_iops(self, input: Option<i32>) -> Self
The IOPS (I/O operations per second) value for the automated backup.
sourcepub fn option_group_name(self, input: impl Into<String>) -> Self
pub fn option_group_name(self, input: impl Into<String>) -> Self
The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used.
sourcepub fn set_option_group_name(self, input: Option<String>) -> Self
pub fn set_option_group_name(self, input: Option<String>) -> Self
The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used.
sourcepub fn tde_credential_arn(self, input: impl Into<String>) -> Self
pub fn tde_credential_arn(self, input: impl Into<String>) -> Self
The ARN from the key store with which the automated backup is associated for TDE encryption.
sourcepub fn set_tde_credential_arn(self, input: Option<String>) -> Self
pub fn set_tde_credential_arn(self, input: Option<String>) -> Self
The ARN from the key store with which the automated backup is associated for TDE encryption.
sourcepub fn encrypted(self, input: bool) -> Self
pub fn encrypted(self, input: bool) -> Self
Specifies whether the automated backup is encrypted.
sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
Specifies whether the automated backup is encrypted.
sourcepub fn storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
Specifies the storage type associated with the automated backup.
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
Specifies the storage type associated with the automated backup.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Web Services KMS key ID for an automated backup.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Web Services KMS key ID for an automated backup.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
sourcepub fn timezone(self, input: impl Into<String>) -> Self
pub fn timezone(self, input: impl Into<String>) -> Self
The time zone of the automated backup. In most cases, the Timezone element is empty. Timezone content appears only for Microsoft SQL Server DB instances that were created with a time zone specified.
sourcepub fn set_timezone(self, input: Option<String>) -> Self
pub fn set_timezone(self, input: Option<String>) -> Self
The time zone of the automated backup. In most cases, the Timezone element is empty. Timezone content appears only for Microsoft SQL Server DB instances that were created with a time zone specified.
sourcepub fn iam_database_authentication_enabled(self, input: bool) -> Self
pub fn iam_database_authentication_enabled(self, input: bool) -> Self
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
sourcepub fn set_iam_database_authentication_enabled(
self,
input: Option<bool>
) -> Self
pub fn set_iam_database_authentication_enabled( self, input: Option<bool> ) -> Self
True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.
sourcepub fn backup_retention_period(self, input: i32) -> Self
pub fn backup_retention_period(self, input: i32) -> Self
The retention period for the automated backups.
sourcepub fn set_backup_retention_period(self, input: Option<i32>) -> Self
pub fn set_backup_retention_period(self, input: Option<i32>) -> Self
The retention period for the automated backups.
sourcepub fn db_instance_automated_backups_arn(self, input: impl Into<String>) -> Self
pub fn db_instance_automated_backups_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the replicated automated backups.
sourcepub fn set_db_instance_automated_backups_arn(
self,
input: Option<String>
) -> Self
pub fn set_db_instance_automated_backups_arn( self, input: Option<String> ) -> Self
The Amazon Resource Name (ARN) for the replicated automated backups.
sourcepub fn db_instance_automated_backups_replications(
self,
input: DbInstanceAutomatedBackupsReplication
) -> Self
pub fn db_instance_automated_backups_replications( self, input: DbInstanceAutomatedBackupsReplication ) -> Self
Appends an item to db_instance_automated_backups_replications.
To override the contents of this collection use set_db_instance_automated_backups_replications.
The list of replications to different Amazon Web Services Regions associated with the automated backup.
sourcepub fn set_db_instance_automated_backups_replications(
self,
input: Option<Vec<DbInstanceAutomatedBackupsReplication>>
) -> Self
pub fn set_db_instance_automated_backups_replications( self, input: Option<Vec<DbInstanceAutomatedBackupsReplication>> ) -> Self
The list of replications to different Amazon Web Services Regions associated with the automated backup.
sourcepub fn backup_target(self, input: impl Into<String>) -> Self
pub fn backup_target(self, input: impl Into<String>) -> Self
Specifies where automated backups are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
sourcepub fn set_backup_target(self, input: Option<String>) -> Self
pub fn set_backup_target(self, input: Option<String>) -> Self
Specifies where automated backups are stored: Amazon Web Services Outposts or the Amazon Web Services Region.
sourcepub fn storage_throughput(self, input: i32) -> Self
pub fn storage_throughput(self, input: i32) -> Self
Specifies the storage throughput for the automated backup.
sourcepub fn set_storage_throughput(self, input: Option<i32>) -> Self
pub fn set_storage_throughput(self, input: Option<i32>) -> Self
Specifies the storage throughput for the automated backup.
sourcepub fn build(self) -> DbInstanceAutomatedBackup
pub fn build(self) -> DbInstanceAutomatedBackup
Consumes the builder and constructs a DbInstanceAutomatedBackup.
Trait Implementations§
source§impl Clone for DbInstanceAutomatedBackupBuilder
impl Clone for DbInstanceAutomatedBackupBuilder
source§fn clone(&self) -> DbInstanceAutomatedBackupBuilder
fn clone(&self) -> DbInstanceAutomatedBackupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DbInstanceAutomatedBackupBuilder
impl Default for DbInstanceAutomatedBackupBuilder
source§fn default() -> DbInstanceAutomatedBackupBuilder
fn default() -> DbInstanceAutomatedBackupBuilder
source§impl PartialEq<DbInstanceAutomatedBackupBuilder> for DbInstanceAutomatedBackupBuilder
impl PartialEq<DbInstanceAutomatedBackupBuilder> for DbInstanceAutomatedBackupBuilder
source§fn eq(&self, other: &DbInstanceAutomatedBackupBuilder) -> bool
fn eq(&self, other: &DbInstanceAutomatedBackupBuilder) -> bool
self and other values to be equal, and is used
by ==.