code: public static base_response update(nitro_service client, nstcpbufparam resource) throws Exception {
  		nstcpbufparam updateresource = new nstcpbufparam();
  		updateresource.size = resource.size;
  		updateresource.memlimit = resource.memlimit;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update nstcpbufparam.