public PutRetentionSettingsResult withRetentionSettings(RetentionSettings retentionSettings) {
        setRetentionSettings(retentionSettings);
        return this;
    }
<p>
The retention settings.
</p>

@param retentionSettings
       The retention settings.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/PutRetentionSettingsResult.java