constructor(retentionInfo) {
        this.mode = retentionInfo.mode || null;
        this.date = retentionInfo.date || null;
        this.legalHold = retentionInfo.legalHold || false;
    }
@param {object} retentionInfo - The object lock retention policy
@param {"GOVERNANCE" | "COMPLIANCE" | null} retentionInfo.mode - Retention policy mode.
@param {string} retentionInfo.date - Expiration date of retention policy. A string in ISO-8601 format
@param {bool} retentionInfo.legalHold - Whether a legal hold is enable for the object