code: public void marshall(AssociateDomainRequest associateDomainRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (associateDomainRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(associateDomainRequest.getFleetArn(), FLEETARN_BINDING);
              protocolMarshaller.marshall(associateDomainRequest.getDomainName(), DOMAINNAME_BINDING);
              protocolMarshaller.marshall(associateDomainRequest.getAcmCertificateArn(), ACMCERTIFICATEARN_BINDING);
              protocolMarshaller.marshall(associateDomainRequest.getDisplayName(), DISPLAYNAME_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.