/** * Sets the ip address of this running instance. * * @param ip the ip address of the instance. * @return the {@link InstanceInfo} builder. */ public Builder setIPAddr(String ip) { result.ipAddr = ip; return this; }