/** * <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 AWS 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 AWS Regions. For more information, see <a * href="http://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 AWS 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 AWS Regions. For more information, * see <a href= * "http://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. */ 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 AWS 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 AWS Regions. For more information, see <a * href="http://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 AWS 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 AWS Regions. For more information, * see <a href= * "http://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. */ public CopyDBSnapshotRequest withOptionGroupName(String optionGroupName) { setOptionGroupName(optionGroupName); return this; }