code: public static base_response update(nitro_service client, Interface resource) throws Exception {
  		Interface updateresource = new Interface();
  		updateresource.id = resource.id;
  		updateresource.speed = resource.speed;
  		updateresource.duplex = resource.duplex;
  		updateresource.flowctl = resource.flowctl;
  		updateresource.autoneg = resource.autoneg;
  		updateresource.hamonitor = resource.hamonitor;
  		updateresource.tagall = resource.tagall;
  		updateresource.trunk = resource.trunk;
  		updateresource.lacpmode = resource.lacpmode;
  		updateresource.lacpkey = resource.lacpkey;
  		updateresource.lagtype = resource.lagtype;
  		updateresource.lacppriority = resource.lacppriority;
  		updateresource.lacptimeout = resource.lacptimeout;
  		updateresource.ifalias = resource.ifalias;
  		updateresource.throughput = resource.throughput;
  		updateresource.bandwidthhigh = resource.bandwidthhigh;
  		updateresource.bandwidthnormal = resource.bandwidthnormal;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update Interface.