static Type fromAccessCheckStatus(AccessCheckStatus accessCheckStatus) {
            return Arrays.stream(values())
                    .filter(value -> value.wrappedElement == accessCheckStatus)
                    .findFirst()
                    .orElseThrow(() -> new IllegalArgumentException("Unknown status: " + accessCheckStatus));
        }
The various types of access control results.

@author bjorncs
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/zpe/AuthorizationResult.java