public void setOptionGroupName(String optionGroupName) {
        this.optionGroupName = optionGroupName;
    }
<p>
The option group to associate the DB instance with. If not specified, RDS uses the option group associated with
the source DB instance or cluster.
</p>
<note>
<p>
For SQL Server, you must use the option group associated with the source.
</p>
</note>
<p>
This setting doesn't apply to RDS Custom DB instances.
</p>

@param optionGroupName
       The option group to associate the DB instance with. If not specified, RDS uses the option group associated
       with the source DB instance or cluster.</p> <note>
       <p>
       For SQL Server, you must use the option group associated with the source.
       </p>
       </note>
       <p>
       This setting doesn't apply to RDS Custom DB instances.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/CreateDBInstanceReadReplicaRequest.java