/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.rds.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartDBInstanceAutomatedBackupsReplicationRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* 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
.
*
* The retention period for the replicated automated backups. *
*/ private Integer backupRetentionPeriod; /** *
* 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
.
*
* 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.
*
* 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
.
*
arn:aws:rds:us-west-2:123456789012:db:mydatabase
.
*/
public void setSourceDBInstanceArn(String sourceDBInstanceArn) {
this.sourceDBInstanceArn = sourceDBInstanceArn;
}
/**
*
* 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
.
*
arn:aws:rds:us-west-2:123456789012:db:mydatabase
.
*/
public String getSourceDBInstanceArn() {
return this.sourceDBInstanceArn;
}
/**
*
* 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
.
*
arn:aws:rds:us-west-2:123456789012:db:mydatabase
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public StartDBInstanceAutomatedBackupsReplicationRequest withSourceDBInstanceArn(String sourceDBInstanceArn) {
setSourceDBInstanceArn(sourceDBInstanceArn);
return this;
}
/**
* * The retention period for the replicated automated backups. *
* * @param backupRetentionPeriod * The retention period for the replicated automated backups. */ public void setBackupRetentionPeriod(Integer backupRetentionPeriod) { this.backupRetentionPeriod = backupRetentionPeriod; } /** ** The retention period for the replicated automated backups. *
* * @return The retention period for the replicated automated backups. */ public Integer getBackupRetentionPeriod() { return this.backupRetentionPeriod; } /** ** The retention period for the replicated automated backups. *
* * @param backupRetentionPeriod * The retention period for the replicated automated backups. * @return Returns a reference to this object so that method calls can be chained together. */ public StartDBInstanceAutomatedBackupsReplicationRequest withBackupRetentionPeriod(Integer backupRetentionPeriod) { setBackupRetentionPeriod(backupRetentionPeriod); return this; } /** *
* 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
.
*
arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE
.
*/
public void setKmsKeyId(String kmsKeyId) {
this.kmsKeyId = kmsKeyId;
}
/**
*
* 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
.
*
arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE
.
*/
public String getKmsKeyId() {
return this.kmsKeyId;
}
/**
*
* 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
.
*
arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE
.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public StartDBInstanceAutomatedBackupsReplicationRequest withKmsKeyId(String kmsKeyId) {
setKmsKeyId(kmsKeyId);
return this;
}
/**
*
* 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.
*
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.
*
* 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.
*
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.
*
* 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.
*
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.
*