public CreateDBInstanceReadReplicaRequest withPreSignedUrl(String preSignedUrl) {
        setPreSignedUrl(preSignedUrl);
        return this;
    }
<p>
When you are creating a read replica from one Amazon Web Services GovCloud (US) Region to another or from one
China Amazon Web Services Region to another, the URL that contains a Signature Version 4 signed request for the
<code>CreateDBInstanceReadReplica</code> API operation in the source Amazon Web Services Region that contains the
source DB instance.
</p>
<p>
This setting applies only to Amazon Web Services GovCloud (US) Regions and China Amazon Web Services Regions.
It's ignored in other Amazon Web Services Regions.
</p>
<p>
This setting applies only when replicating from a source DB <i>instance</i>. Source DB clusters aren't supported
in Amazon Web Services GovCloud (US) Regions and China Amazon Web Services Regions.
</p>
<p>
You must specify this parameter when you create an encrypted read replica from another Amazon Web Services Region
by using the Amazon RDS API. Don't specify <code>PreSignedUrl</code> when you are creating an encrypted read
replica in the same Amazon Web Services Region.
</p>
<p>
The presigned URL must be a valid request for the <code>CreateDBInstanceReadReplica</code> API operation that can
run in the source Amazon Web Services Region that contains the encrypted source DB instance. The presigned URL
request must contain the following parameter values:
</p>
<ul>
<li>
<p>
<code>DestinationRegion</code> - The Amazon Web Services Region that the encrypted read replica is created in.
This Amazon Web Services Region is the same one where the <code>CreateDBInstanceReadReplica</code> operation is
called that contains this presigned URL.
</p>
<p>
For example, if you create an encrypted DB instance in the us-west-1 Amazon Web Services Region, from a source DB
instance in the us-east-2 Amazon Web Services Region, then you call the <code>CreateDBInstanceReadReplica</code>
operation in the us-east-1 Amazon Web Services Region and provide a presigned URL that contains a call to the
<code>CreateDBInstanceReadReplica</code> operation in the us-west-2 Amazon Web Services Region. For this example,
the <code>DestinationRegion</code> in the presigned URL must be set to the us-east-1 Amazon Web Services Region.
</p>
</li>
<li>
<p>
<code>KmsKeyId</code> - The KMS key identifier for the key to use to encrypt the read replica in the destination
Amazon Web Services Region. This is the same identifier for both the <code>CreateDBInstanceReadReplica</code>
operation that is called in the destination Amazon Web Services Region, and the operation contained in the
presigned URL.
</p>
</li>
<li>
<p>
<code>SourceDBInstanceIdentifier</code> - The DB instance identifier for the encrypted DB instance to be
replicated. This identifier must be in the Amazon Resource Name (ARN) format for the source Amazon Web Services
Region. For example, if you are creating an encrypted read replica from a DB instance in the us-west-2 Amazon Web
Services Region, then your <code>SourceDBInstanceIdentifier</code> looks like the following example:
<code>arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115</code>.
</p>
</li>
</ul>
<p>
To learn how to generate a Signature Version 4 signed request, see <a
href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html">Authenticating Requests:
Using Query Parameters (Amazon Web Services Signature Version 4)</a> and <a
href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 Signing
Process</a>.
</p>
<note>
<p>
If you are using an Amazon Web Services SDK tool or the CLI, you can specify <code>SourceRegion</code> (or
<code>--source-region</code> for the CLI) instead of specifying <code>PreSignedUrl</code> manually. Specifying
<code>SourceRegion</code> autogenerates a presigned URL that is a valid request for the operation that can run in
the source Amazon Web Services Region.
</p>
<p>
<code>SourceRegion</code> isn't supported for SQL Server, because Amazon RDS for SQL Server doesn't support
cross-Region read replicas.
</p>
</note>
<p>
This setting doesn't apply to RDS Custom DB instances.
</p>

@param preSignedUrl
       When you are creating a read replica from one Amazon Web Services GovCloud (US) Region to another or from
       one China Amazon Web Services Region to another, the URL that contains a Signature Version 4 signed
       request for the <code>CreateDBInstanceReadReplica</code> API operation in the source Amazon Web Services
       Region that contains the source DB instance.</p>
       <p>
       This setting applies only to Amazon Web Services GovCloud (US) Regions and China Amazon Web Services
       Regions. It's ignored in other Amazon Web Services Regions.
       </p>
       <p>
       This setting applies only when replicating from a source DB <i>instance</i>. Source DB clusters aren't
       supported in Amazon Web Services GovCloud (US) Regions and China Amazon Web Services Regions.
       </p>
       <p>
       You must specify this parameter when you create an encrypted read replica from another Amazon Web Services
       Region by using the Amazon RDS API. Don't specify <code>PreSignedUrl</code> when you are creating an
       encrypted read replica in the same Amazon Web Services Region.
       </p>
       <p>
       The presigned URL must be a valid request for the <code>CreateDBInstanceReadReplica</code> API operation
       that can run in the source Amazon Web Services Region that contains the encrypted source DB instance. The
       presigned URL request must contain the following parameter values:
       </p>
       <ul>
       <li>
       <p>
       <code>DestinationRegion</code> - The Amazon Web Services Region that the encrypted read replica is created
       in. This Amazon Web Services Region is the same one where the <code>CreateDBInstanceReadReplica</code>
       operation is called that contains this presigned URL.
       </p>
       <p>
       For example, if you create an encrypted DB instance in the us-west-1 Amazon Web Services Region, from a
       source DB instance in the us-east-2 Amazon Web Services Region, then you call the
       <code>CreateDBInstanceReadReplica</code> operation in the us-east-1 Amazon Web Services Region and provide
       a presigned URL that contains a call to the <code>CreateDBInstanceReadReplica</code> operation in the
       us-west-2 Amazon Web Services Region. For this example, the <code>DestinationRegion</code> in the
       presigned URL must be set to the us-east-1 Amazon Web Services Region.
       </p>
       </li>
       <li>
       <p>
       <code>KmsKeyId</code> - The KMS key identifier for the key to use to encrypt the read replica in the
       destination Amazon Web Services Region. This is the same identifier for both the
       <code>CreateDBInstanceReadReplica</code> operation that is called in the destination Amazon Web Services
       Region, and the operation contained in the presigned URL.
       </p>
       </li>
       <li>
       <p>
       <code>SourceDBInstanceIdentifier</code> - The DB instance identifier for the encrypted DB instance to be
       replicated. This identifier must be in the Amazon Resource Name (ARN) format for the source Amazon Web
       Services Region. For example, if you are creating an encrypted read replica from a DB instance in the
       us-west-2 Amazon Web Services Region, then your <code>SourceDBInstanceIdentifier</code> looks like the
       following example: <code>arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115</code>.
       </p>
       </li>
       </ul>
       <p>
       To learn how to generate a Signature Version 4 signed request, see <a
       href="https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html">Authenticating
       Requests: Using Query Parameters (Amazon Web Services Signature Version 4)</a> and <a
       href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 Signing
       Process</a>.
       </p>
       <note>
       <p>
       If you are using an Amazon Web Services SDK tool or the CLI, you can specify <code>SourceRegion</code> (or
       <code>--source-region</code> for the CLI) instead of specifying <code>PreSignedUrl</code> manually.
       Specifying <code>SourceRegion</code> autogenerates a presigned URL that is a valid request for the
       operation that can run in the source Amazon Web Services Region.
       </p>
       <p>
       <code>SourceRegion</code> isn't supported for SQL Server, because Amazon RDS for SQL Server doesn't
       support cross-Region read replicas.
       </p>
       </note>
       <p>
       This setting doesn't apply to RDS Custom DB instances.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/CreateDBInstanceReadReplicaRequest.java