docs: @Nullable
    static String parseResourceType(@Nullable String rawEnvType) {
      if (rawEnvType != null && !rawEnvType.isEmpty()) {
        Utils.checkArgument(isValidAndNotEmpty(rawEnvType), "Type" + ERROR_MESSAGE_INVALID_CHARS);
        return rawEnvType.trim();
      }
      return rawEnvType;
    }