code: public static base_response update(nitro_service client, rnat resource) throws Exception {
  		rnat updateresource = new rnat();
  		updateresource.network = resource.network;
  		updateresource.netmask = resource.netmask;
  		updateresource.natip = resource.natip;
  		updateresource.td = resource.td;
  		updateresource.aclname = resource.aclname;
  		updateresource.redirectport = resource.redirectport;
  		updateresource.natip2 = resource.natip2;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update rnat.