code: public void marshall(CreateMembersRequest createMembersRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (createMembersRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(createMembersRequest.getAccountDetails(), ACCOUNTDETAILS_BINDING);
              protocolMarshaller.marshall(createMembersRequest.getDetectorId(), DETECTORID_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.