code: public static String validateUserStreamName(String name) {
          Preconditions.checkNotNull(name);
          Preconditions.checkArgument(name.matches("[\\p{Alnum}\\.\\-]+"), "Name must be a-z, 0-9, ., -.");
          return name;
      }
docs: Validates a user created stream name.
  
  @param name User supplied stream name to validate.
  @return The name in the case is valid.