public ModifyDBInstanceRequest withEnablePerformanceInsights(Boolean enablePerformanceInsights) {
        setEnablePerformanceInsights(enablePerformanceInsights);
        return this;
    }
<p>
A value that indicates whether to enable Performance Insights for the DB Instance. For more information, see <a
href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html">Using Amazon
Performance Insights</a>.
</p>

@param enablePerformanceInsights
       A value that indicates whether to enable Performance Insights for the DB Instance. For more information,
       see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/performance-insights.html">Using
       Amazon Performance Insights</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/ModifyDBInstanceRequest.java