docs: public void marshall(JoinDomainRequest joinDomainRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (joinDomainRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(joinDomainRequest.getGatewayARN(), GATEWAYARN_BINDING);
              protocolMarshaller.marshall(joinDomainRequest.getDomainName(), DOMAINNAME_BINDING);
              protocolMarshaller.marshall(joinDomainRequest.getOrganizationalUnit(), ORGANIZATIONALUNIT_BINDING);
              protocolMarshaller.marshall(joinDomainRequest.getDomainControllers(), DOMAINCONTROLLERS_BINDING);
              protocolMarshaller.marshall(joinDomainRequest.getUserName(), USERNAME_BINDING);
              protocolMarshaller.marshall(joinDomainRequest.getPassword(), PASSWORD_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }