code: public void marshall(GetLoadBalancerMetricDataRequest getLoadBalancerMetricDataRequest, ProtocolMarshaller protocolMarshaller) {
  
          if (getLoadBalancerMetricDataRequest == null) {
              throw new SdkClientException("Invalid argument passed to marshall(...)");
          }
  
          try {
              protocolMarshaller.marshall(getLoadBalancerMetricDataRequest.getLoadBalancerName(), LOADBALANCERNAME_BINDING);
              protocolMarshaller.marshall(getLoadBalancerMetricDataRequest.getMetricName(), METRICNAME_BINDING);
              protocolMarshaller.marshall(getLoadBalancerMetricDataRequest.getPeriod(), PERIOD_BINDING);
              protocolMarshaller.marshall(getLoadBalancerMetricDataRequest.getStartTime(), STARTTIME_BINDING);
              protocolMarshaller.marshall(getLoadBalancerMetricDataRequest.getEndTime(), ENDTIME_BINDING);
              protocolMarshaller.marshall(getLoadBalancerMetricDataRequest.getUnit(), UNIT_BINDING);
              protocolMarshaller.marshall(getLoadBalancerMetricDataRequest.getStatistics(), STATISTICS_BINDING);
          } catch (Exception e) {
              throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
          }
      }
docs: Marshall the given parameter object.