docs: private JsonObject affToJsonObject() {
          JsonObjectBuilder ob = Json.createObjectBuilder();
          if (client.getCAName() != null) {
              ob.add(HFCAClient.FABRIC_CA_REQPROP, client.getCAName());
          }
          if (this.updateName != null) {
              ob.add("name", updateName);
              this.updateName = null;
          } else {
              ob.add("name", name);
          }
  
          return ob.build();
      }