It's possible with a use of mixins, since you want to use those name only for csv export:
Let assume you have id
field in your Pojo class with a getter. Then you Create PojoFormat abstract class:
public abstract class PojoFormat {
@JsonProperty("Report Id")
abstract Integer getId();
}
And in your code use it like that:
CsvMapper mapper = new CsvMapper();
mapper.addMixIn(Pojo.class, PojoFormat.class);
CsvSchema schema = mapper.schemaFor(Pojo.class).withHeader();
mapper.writer(schema).writeValueAsString(objects);