Struct aws_sdk_rds::operation::start_db_instance_automated_backups_replication::builders::StartDBInstanceAutomatedBackupsReplicationFluentBuilder
source · pub struct StartDBInstanceAutomatedBackupsReplicationFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to StartDBInstanceAutomatedBackupsReplication.
Enables replication of automated backups to a different Amazon Web Services Region.
This command doesn't apply to RDS Custom.
For more information, see Replicating Automated Backups to Another Amazon Web Services Region in the Amazon RDS User Guide.
Implementations§
source§impl StartDBInstanceAutomatedBackupsReplicationFluentBuilder
impl StartDBInstanceAutomatedBackupsReplicationFluentBuilder
sourcepub fn as_input(
&self
) -> &StartDbInstanceAutomatedBackupsReplicationInputBuilder
pub fn as_input( &self ) -> &StartDbInstanceAutomatedBackupsReplicationInputBuilder
Access the StartDBInstanceAutomatedBackupsReplication as a reference.
sourcepub async fn send(
self
) -> Result<StartDbInstanceAutomatedBackupsReplicationOutput, SdkError<StartDBInstanceAutomatedBackupsReplicationError, HttpResponse>>
pub async fn send( self ) -> Result<StartDbInstanceAutomatedBackupsReplicationOutput, SdkError<StartDBInstanceAutomatedBackupsReplicationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<StartDbInstanceAutomatedBackupsReplicationOutput, StartDBInstanceAutomatedBackupsReplicationError, Self>
pub fn customize( self ) -> CustomizableOperation<StartDbInstanceAutomatedBackupsReplicationOutput, StartDBInstanceAutomatedBackupsReplicationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for StartDBInstanceAutomatedBackupsReplicationFluentBuilder
impl Clone for StartDBInstanceAutomatedBackupsReplicationFluentBuilder
source§fn clone(&self) -> StartDBInstanceAutomatedBackupsReplicationFluentBuilder
fn clone(&self) -> StartDBInstanceAutomatedBackupsReplicationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more