docs: public void marshall(EndpointGroup endpointGroup, ProtocolMarshaller protocolMarshaller) {
  
          if (endpointGroup == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(endpointGroup.getEndpointGroupArn(), ENDPOINTGROUPARN_BINDING);
              protocolMarshaller.marshall(endpointGroup.getEndpointGroupRegion(), ENDPOINTGROUPREGION_BINDING);
              protocolMarshaller.marshall(endpointGroup.getEndpointDescriptions(), ENDPOINTDESCRIPTIONS_BINDING);
              protocolMarshaller.marshall(endpointGroup.getTrafficDialPercentage(), TRAFFICDIALPERCENTAGE_BINDING);
              protocolMarshaller.marshall(endpointGroup.getHealthCheckPort(), HEALTHCHECKPORT_BINDING);
              protocolMarshaller.marshall(endpointGroup.getHealthCheckProtocol(), HEALTHCHECKPROTOCOL_BINDING);
              protocolMarshaller.marshall(endpointGroup.getHealthCheckPath(), HEALTHCHECKPATH_BINDING);
              protocolMarshaller.marshall(endpointGroup.getHealthCheckIntervalSeconds(), HEALTHCHECKINTERVALSECONDS_BINDING);
              protocolMarshaller.marshall(endpointGroup.getThresholdCount(), THRESHOLDCOUNT_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }