class SecurityPoliciesProcessInstanceRestrictionApplier implements SecurityPoliciesRestrictionApplier<GetProcessInstancesPayload> {

    @Override
    public GetProcessInstancesPayload restrictToKeys(Set<String> keys) {
        return ProcessPayloadBuilder.processInstances().withProcessDefinitionKeys(keys).build();
    }

}