public PutRetentionConfigurationRequest withRetentionPeriodInDays(Integer retentionPeriodInDays) {
        setRetentionPeriodInDays(retentionPeriodInDays);
        return this;
    }
<p>
Number of days Config stores your historical information.
</p>
<note>
<p>
Currently, only applicable to the configuration item history.
</p>
</note>

@param retentionPeriodInDays
       Number of days Config stores your historical information.</p> <note>
       <p>
       Currently, only applicable to the configuration item history.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-config/src/main/java/com/amazonaws/services/config/model/PutRetentionConfigurationRequest.java