public void setChannelRetentionSettings(ChannelRetentionSettings channelRetentionSettings) {
        this.channelRetentionSettings = channelRetentionSettings;
    }
<p>
The length of time in days to retain the messages in a channel.
</p>

@param channelRetentionSettings
       The length of time in days to retain the messages in a channel.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/AppInstanceRetentionSettings.java