/**
  * Sets the resolution of the emulation profile to the given dimensions.
  *
  * @param resolution the dimensions of the screen
  * @return self-reference
  */
 public Builder setResolution(Dimension resolution) {
   config.resolution = resolution;
   return this;
 }