@Override
	public JobInstanceInfoResource toResource(JobInstanceInfo entity) {
		return createResourceWithId(entity.getInstanceId(), entity);
	}
Resource assembler that builds the REST resource {@link JobInstanceInfoResource} out of domain model
{@link JobInstanceInfo}.

@author Ilayaperumal Gopinathan
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/JobInstanceInfoResourceAssembler.java