code: public static base_response update(nitro_service client, ipsecparameter resource) throws Exception {
  		ipsecparameter updateresource = new ipsecparameter();
  		updateresource.ikeversion = resource.ikeversion;
  		updateresource.encalgo = resource.encalgo;
  		updateresource.hashalgo = resource.hashalgo;
  		updateresource.lifetime = resource.lifetime;
  		updateresource.livenesscheckinterval = resource.livenesscheckinterval;
  		updateresource.replaywindowsize = resource.replaywindowsize;
  		updateresource.ikeretryinterval = resource.ikeretryinterval;
  		updateresource.retransmissiontime = resource.retransmissiontime;
  		return updateresource.update_resource(client);
  	}
docs: Use this API to update ipsecparameter.