/** * Creates a new {@link Builder} to create {@link PersistentEntityResource}s eventually. * * @param content must not be {@literal null}. * @param entity must not be {@literal null}. * @return */ public static Builder build(Object content, PersistentEntity<?, ?> entity) { return new Builder(content, entity); }
/** * Creates a new {@link Builder} to create {@link PersistentEntityResource}s eventually. * * @param content must not be {@literal null}. * @param entity must not be {@literal null}. * @return */ public static Builder build(Object content, PersistentEntity<?, ?> entity) { return new Builder(content, entity); }