public CopyDBSnapshotRequest withPreSignedUrl(String preSignedUrl) {
        setPreSignedUrl(preSignedUrl);
        return this;
    }
<p>
When you are copying a snapshot from one Amazon Web Services GovCloud (US) Region to another, the URL that
contains a Signature Version 4 signed request for the <code>CopyDBSnapshot</code> API operation in the source
Amazon Web Services Region that contains the source DB snapshot to copy.
</p>
<p>
This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web Services
Regions.
</p>
<p>
You must specify this parameter when you copy an encrypted DB snapshot from another Amazon Web Services Region by
using the Amazon RDS API. Don't specify <code>PreSignedUrl</code> when you are copying an encrypted DB snapshot
in the same Amazon Web Services Region.
</p>
<p>
The presigned URL must be a valid request for the <code>CopyDBClusterSnapshot</code> API operation that can run
in the source Amazon Web Services Region that contains the encrypted DB cluster snapshot to copy. 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 DB snapshot is copied to. This
Amazon Web Services Region is the same one where the <code>CopyDBSnapshot</code> operation is called that
contains this presigned URL.
</p>
<p>
For example, if you copy an encrypted DB snapshot from the us-west-2 Amazon Web Services Region to the us-east-1
Amazon Web Services Region, then you call the <code>CopyDBSnapshot</code> operation in the us-east-1 Amazon Web
Services Region and provide a presigned URL that contains a call to the <code>CopyDBSnapshot</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 KMS key to use to encrypt the copy of the DB snapshot in
the destination Amazon Web Services Region. This is the same identifier for both the <code>CopyDBSnapshot</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>SourceDBSnapshotIdentifier</code> - The DB snapshot identifier for the encrypted snapshot to be copied.
This identifier must be in the Amazon Resource Name (ARN) format for the source Amazon Web Services Region. For
example, if you are copying an encrypted DB snapshot from the us-west-2 Amazon Web Services Region, then your
<code>SourceDBSnapshotIdentifier</code> looks like the following example:
<code>arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-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>
</note>

@param preSignedUrl
       When you are copying a snapshot from one Amazon Web Services GovCloud (US) Region to another, the URL that
       contains a Signature Version 4 signed request for the <code>CopyDBSnapshot</code> API operation in the
       source Amazon Web Services Region that contains the source DB snapshot to copy.</p>
       <p>
       This setting applies only to Amazon Web Services GovCloud (US) Regions. It's ignored in other Amazon Web
       Services Regions.
       </p>
       <p>
       You must specify this parameter when you copy an encrypted DB snapshot from another Amazon Web Services
       Region by using the Amazon RDS API. Don't specify <code>PreSignedUrl</code> when you are copying an
       encrypted DB snapshot in the same Amazon Web Services Region.
       </p>
       <p>
       The presigned URL must be a valid request for the <code>CopyDBClusterSnapshot</code> API operation that
       can run in the source Amazon Web Services Region that contains the encrypted DB cluster snapshot to copy.
       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 DB snapshot is copied
       to. This Amazon Web Services Region is the same one where the <code>CopyDBSnapshot</code> operation is
       called that contains this presigned URL.
       </p>
       <p>
       For example, if you copy an encrypted DB snapshot from the us-west-2 Amazon Web Services Region to the
       us-east-1 Amazon Web Services Region, then you call the <code>CopyDBSnapshot</code> operation in the
       us-east-1 Amazon Web Services Region and provide a presigned URL that contains a call to the
       <code>CopyDBSnapshot</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 KMS key to use to encrypt the copy of the DB
       snapshot in the destination Amazon Web Services Region. This is the same identifier for both the
       <code>CopyDBSnapshot</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>SourceDBSnapshotIdentifier</code> - The DB snapshot identifier for the encrypted snapshot to be
       copied. This identifier must be in the Amazon Resource Name (ARN) format for the source Amazon Web
       Services Region. For example, if you are copying an encrypted DB snapshot from the us-west-2 Amazon Web
       Services Region, then your <code>SourceDBSnapshotIdentifier</code> looks like the following example:
       <code>arn:aws:rds:us-west-2:123456789012:snapshot:mysql-instance1-snapshot-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>
@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/CopyDBSnapshotRequest.java