code: public void marshall(UpdateEndpointGroupRequest updateEndpointGroupRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (updateEndpointGroupRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(updateEndpointGroupRequest.getEndpointGroupArn(), ENDPOINTGROUPARN_BINDING);
              protocolMarshaller.marshall(updateEndpointGroupRequest.getEndpointConfigurations(), ENDPOINTCONFIGURATIONS_BINDING);
              protocolMarshaller.marshall(updateEndpointGroupRequest.getTrafficDialPercentage(), TRAFFICDIALPERCENTAGE_BINDING);
              protocolMarshaller.marshall(updateEndpointGroupRequest.getHealthCheckPort(), HEALTHCHECKPORT_BINDING);
              protocolMarshaller.marshall(updateEndpointGroupRequest.getHealthCheckProtocol(), HEALTHCHECKPROTOCOL_BINDING);
              protocolMarshaller.marshall(updateEndpointGroupRequest.getHealthCheckPath(), HEALTHCHECKPATH_BINDING);
              protocolMarshaller.marshall(updateEndpointGroupRequest.getHealthCheckIntervalSeconds(), HEALTHCHECKINTERVALSECONDS_BINDING);
              protocolMarshaller.marshall(updateEndpointGroupRequest.getThresholdCount(), THRESHOLDCOUNT_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.