public DBInstance withMonitoringInterval(Integer monitoringInterval) {
        setMonitoringInterval(monitoringInterval);
        return this;
    }
<p>
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
</p>

@param monitoringInterval
       The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB
       instance.
@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