public GetAppInstanceRetentionSettingsResult withAppInstanceRetentionSettings(AppInstanceRetentionSettings appInstanceRetentionSettings) {
        setAppInstanceRetentionSettings(appInstanceRetentionSettings);
        return this;
    }
<p>
The retention settings for the <code>AppInstance</code>.
</p>

@param appInstanceRetentionSettings
       The retention settings for the <code>AppInstance</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chimesdkidentity/src/main/java/com/amazonaws/services/chimesdkidentity/model/GetAppInstanceRetentionSettingsResult.java