public ResourceRepresentation < V > withContent ( ByteString content ) { return new ResourceRepresentation <> ( Option . of ( content ) , links , rels , namespaceManager , value , resources ) ; }
Adds or replaces the content of the representation .