public static Embedded embedded ( final String rel , final List < ? extends HalRepresentation > embeddedRepresentations ) { return new Embedded ( singletonMap ( rel , new ArrayList <> ( embeddedRepresentations ) ) ) ; }
Create an Embedded instance with a list of nested HalRepresentations for a single link - relation type .