docs: public void marshall(DnsConfig dnsConfig, ProtocolMarshaller protocolMarshaller) {
  
          if (dnsConfig == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(dnsConfig.getNamespaceId(), NAMESPACEID_BINDING);
              protocolMarshaller.marshall(dnsConfig.getRoutingPolicy(), ROUTINGPOLICY_BINDING);
              protocolMarshaller.marshall(dnsConfig.getDnsRecords(), DNSRECORDS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }