public static ConsentReminderOptions valueOf(final int value) {
        return Arrays.stream(values())
            .filter(v -> v.getValue() == value)
            .findFirst()
            .orElseThrow(IllegalArgumentException::new);
    }
Value of consent options.

@param value the value
@return the consent options
support/cas-server-support-consent-api/src/main/java/org/apereo/cas/consent/ConsentReminderOptions.java