public CopyDBSnapshotRequest withCopyOptionGroup(Boolean copyOptionGroup) {
        setCopyOptionGroup(copyOptionGroup);
        return this;
    }
<p>
Specifies whether to copy the DB option group associated with the source DB snapshot to the target Amazon Web
Services account and associate with the target DB snapshot. The associated option group can be copied only with
cross-account snapshot copy calls.
</p>

@param copyOptionGroup
       Specifies whether to copy the DB option group associated with the source DB snapshot to the target Amazon
       Web Services account and associate with the target DB snapshot. The associated option group can be copied
       only with cross-account snapshot copy calls.
@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