private Set<Role> toRoleSet(String[] roleNames) {
    if (roleNames == null || roleNames.length == 0) {
      return Collections.emptySet();
    }
    Set<Role> roleSet = new HashSet<>();
    for (final String roleName : roleNames) {
      roleSet.add(InternalRole.getRole(roleName));
    }
    return roleSet;
  }
Returns the resumption action that describes behavior when missing required roles return to the
system

@return the resumption action that describes behavior when missing required roles return to the
        system
geode-core/src/main/java/org/apache/geode/cache/MembershipAttributes.java