public DBInstance withMasterUserSecret(MasterUserSecret masterUserSecret) {
        setMasterUserSecret(masterUserSecret);
        return this;
    }
<p>
The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management with
Amazon Web Services Secrets Manager</a> in the <i>Amazon RDS User Guide.</i>
</p>

@param masterUserSecret
       The secret managed by RDS in Amazon Web Services Secrets Manager for the master user password.</p>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-secrets-manager.html">Password management
       with Amazon Web Services Secrets Manager</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/DBInstance.java