code: public static <T extends ResourceId> DeprecationStatus<T> of(Status status, T replacement) {
      return newBuilder(status, replacement).build();
    }
docs: Returns a {@code DeprecationStatus} object given the status and replacement's identity.