Struct aws_sdk_rds::operation::start_db_instance_automated_backups_replication::builders::StartDbInstanceAutomatedBackupsReplicationInputBuilder
source · #[non_exhaustive]pub struct StartDbInstanceAutomatedBackupsReplicationInputBuilder { /* private fields */ }Expand description
A builder for StartDbInstanceAutomatedBackupsReplicationInput.
Implementations§
source§impl StartDbInstanceAutomatedBackupsReplicationInputBuilder
impl StartDbInstanceAutomatedBackupsReplicationInputBuilder
sourcepub fn source_db_instance_arn(self, input: impl Into<String>) -> Self
pub fn source_db_instance_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
sourcepub fn set_source_db_instance_arn(self, input: Option<String>) -> Self
pub fn set_source_db_instance_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
sourcepub fn get_source_db_instance_arn(&self) -> &Option<String>
pub fn get_source_db_instance_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, arn:aws:rds:us-west-2:123456789012:db:mydatabase.
sourcepub fn backup_retention_period(self, input: i32) -> Self
pub fn backup_retention_period(self, input: i32) -> Self
The retention period for the replicated 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 replicated automated backups.
sourcepub fn get_backup_retention_period(&self) -> &Option<i32>
pub fn get_backup_retention_period(&self) -> &Option<i32>
The retention period for the replicated automated backups.
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 identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
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 identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Amazon Web Services KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination Amazon Web Services Region, for example, arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE.
sourcepub fn pre_signed_url(self, input: impl Into<String>) -> Self
pub fn pre_signed_url(self, input: impl Into<String>) -> Self
In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication operation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API operation that can run in the Amazon Web Services Region that contains the source DB instance.
This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.
To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.
If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.
sourcepub fn set_pre_signed_url(self, input: Option<String>) -> Self
pub fn set_pre_signed_url(self, input: Option<String>) -> Self
In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication operation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API operation that can run in the Amazon Web Services Region that contains the source DB instance.
This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.
To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.
If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.
sourcepub fn get_pre_signed_url(&self) -> &Option<String>
pub fn get_pre_signed_url(&self) -> &Option<String>
In an Amazon Web Services GovCloud (US) Region, an URL that contains a Signature Version 4 signed request for the StartDBInstanceAutomatedBackupsReplication operation to call in the Amazon Web Services Region of the source DB instance. The presigned URL must be a valid request for the StartDBInstanceAutomatedBackupsReplication API operation that can run in the Amazon Web Services Region that contains the source DB instance.
This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services Regions.
To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.
If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion (or --source-region for the CLI) instead of specifying PreSignedUrl manually. Specifying SourceRegion autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.
sourcepub fn build(
self
) -> Result<StartDbInstanceAutomatedBackupsReplicationInput, BuildError>
pub fn build( self ) -> Result<StartDbInstanceAutomatedBackupsReplicationInput, BuildError>
Consumes the builder and constructs a StartDbInstanceAutomatedBackupsReplicationInput.
source§impl StartDbInstanceAutomatedBackupsReplicationInputBuilder
impl StartDbInstanceAutomatedBackupsReplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<StartDbInstanceAutomatedBackupsReplicationOutput, SdkError<StartDBInstanceAutomatedBackupsReplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<StartDbInstanceAutomatedBackupsReplicationOutput, SdkError<StartDBInstanceAutomatedBackupsReplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartDbInstanceAutomatedBackupsReplicationInputBuilder
impl Clone for StartDbInstanceAutomatedBackupsReplicationInputBuilder
source§fn clone(&self) -> StartDbInstanceAutomatedBackupsReplicationInputBuilder
fn clone(&self) -> StartDbInstanceAutomatedBackupsReplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for StartDbInstanceAutomatedBackupsReplicationInputBuilder
impl Default for StartDbInstanceAutomatedBackupsReplicationInputBuilder
source§fn default() -> StartDbInstanceAutomatedBackupsReplicationInputBuilder
fn default() -> StartDbInstanceAutomatedBackupsReplicationInputBuilder
source§impl PartialEq for StartDbInstanceAutomatedBackupsReplicationInputBuilder
impl PartialEq for StartDbInstanceAutomatedBackupsReplicationInputBuilder
source§fn eq(
&self,
other: &StartDbInstanceAutomatedBackupsReplicationInputBuilder
) -> bool
fn eq( &self, other: &StartDbInstanceAutomatedBackupsReplicationInputBuilder ) -> bool
self and other values to be equal, and is used
by ==.