public CopyDBSnapshotRequest withOptionGroupName(String optionGroupName) {
        setOptionGroupName(optionGroupName);
        return this;
    }
<p>
The name of an option group to associate with the copy of the snapshot.
</p>
<p>
Specify this option if you are copying a snapshot from one Amazon Web Services Region to another, and your DB
instance uses a nondefault option group. If your source DB instance uses Transparent Data Encryption for Oracle
or Microsoft SQL Server, you must specify this option when copying across Amazon Web Services Regions. For more
information, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options"
>Option group considerations</a> in the <i>Amazon RDS User Guide</i>.
</p>

@param optionGroupName
       The name of an option group to associate with the copy of the snapshot.</p>
       <p>
       Specify this option if you are copying a snapshot from one Amazon Web Services Region to another, and your
       DB instance uses a nondefault option group. If your source DB instance uses Transparent Data Encryption
       for Oracle or Microsoft SQL Server, you must specify this option when copying across Amazon Web Services
       Regions. For more information, see <a href=
       "https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_CopySnapshot.html#USER_CopySnapshot.Options"
       >Option group considerations</a> in the <i>Amazon RDS User Guide</i>.
@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