public DBInstance withPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) {
        setPerformanceInsightsRetentionPeriod(performanceInsightsRetentionPeriod);
        return this;
    }
<p>
The number of days to retain Performance Insights data.
</p>
<p>
Valid Values:
</p>
<ul>
<li>
<p>
<code>7</code>
</p>
</li>
<li>
<p>
<i>month</i> * 31, where <i>month</i> is a number of months from 1-23. Examples: <code>93</code> (3 months * 31),
<code>341</code> (11 months * 31), <code>589</code> (19 months * 31)
</p>
</li>
<li>
<p>
<code>731</code>
</p>
</li>
</ul>
<p>
Default: <code>7</code> days
</p>

@param performanceInsightsRetentionPeriod
       The number of days to retain Performance Insights data.</p>
       <p>
       Valid Values:
       </p>
       <ul>
       <li>
       <p>
       <code>7</code>
       </p>
       </li>
       <li>
       <p>
       <i>month</i> * 31, where <i>month</i> is a number of months from 1-23. Examples: <code>93</code> (3 months
       * 31), <code>341</code> (11 months * 31), <code>589</code> (19 months * 31)
       </p>
       </li>
       <li>
       <p>
       <code>731</code>
       </p>
       </li>
       </ul>
       <p>
       Default: <code>7</code> days
@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