docs: public void marshall(ConnectDirectoryRequest connectDirectoryRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (connectDirectoryRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(connectDirectoryRequest.getName(), NAME_BINDING);
              protocolMarshaller.marshall(connectDirectoryRequest.getShortName(), SHORTNAME_BINDING);
              protocolMarshaller.marshall(connectDirectoryRequest.getPassword(), PASSWORD_BINDING);
              protocolMarshaller.marshall(connectDirectoryRequest.getDescription(), DESCRIPTION_BINDING);
              protocolMarshaller.marshall(connectDirectoryRequest.getSize(), SIZE_BINDING);
              protocolMarshaller.marshall(connectDirectoryRequest.getConnectSettings(), CONNECTSETTINGS_BINDING);
              protocolMarshaller.marshall(connectDirectoryRequest.getTags(), TAGS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }