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