public Link withRel(LinkRelation relation) {

		Assert.notNull(relation, "LinkRelation must not be null!");

		return new Link(relation, href, hreflang, media, title, type, deprecation, profile, name, template, affordances);
	}
public Link withRel ( LinkRelation relation ) { Assert . notNull ( relation , "LinkRelation must not be null!" ) ; return new Link ( relation , href , hreflang , media , title , type , deprecation , profile , name , template , affordances ) ; }
Creates a new {@link Link} with the same href but given {@link LinkRelation}.

@param relation must not be {@literal null}.
@return