public < R > ResourceRepresentation < R > withValue ( R newValue ) { return new ResourceRepresentation <> ( Option . none ( ) , links , rels , namespaceManager , newValue , resources ) ; }
Replace the value of this resource with a new value optionally of a new type .