public RestoreDBInstanceFromS3Request withPerformanceInsightsRetentionPeriod(Integer performanceInsightsRetentionPeriod) {
        setPerformanceInsightsRetentionPeriod(performanceInsightsRetentionPeriod);
        return this;
    }
<p>
The number of days to retain Performance Insights data. The default is 7 days. The following values are valid:
</p>
<ul>
<li>
<p>
7
</p>
</li>
<li>
<p>
<i>month</i> * 31, where <i>month</i> is a number of months from 1-23
</p>
</li>
<li>
<p>
731
</p>
</li>
</ul>
<p>
For example, the following values are valid:
</p>
<ul>
<li>
<p>
93 (3 months * 31)
</p>
</li>
<li>
<p>
341 (11 months * 31)
</p>
</li>
<li>
<p>
589 (19 months * 31)
</p>
</li>
<li>
<p>
731
</p>
</li>
</ul>
<p>
If you specify a retention period such as 94, which isn't a valid value, RDS issues an error.
</p>

@param performanceInsightsRetentionPeriod
       The number of days to retain Performance Insights data. The default is 7 days. The following values are
       valid:</p>
       <ul>
       <li>
       <p>
       7
       </p>
       </li>
       <li>
       <p>
       <i>month</i> * 31, where <i>month</i> is a number of months from 1-23
       </p>
       </li>
       <li>
       <p>
       731
       </p>
       </li>
       </ul>
       <p>
       For example, the following values are valid:
       </p>
       <ul>
       <li>
       <p>
       93 (3 months * 31)
       </p>
       </li>
       <li>
       <p>
       341 (11 months * 31)
       </p>
       </li>
       <li>
       <p>
       589 (19 months * 31)
       </p>
       </li>
       <li>
       <p>
       731
       </p>
       </li>
       </ul>
       <p>
       If you specify a retention period such as 94, which isn't a valid value, RDS issues an error.
@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/RestoreDBInstanceFromS3Request.java