public void marshall(CustomizedScalingMetricSpecification customizedScalingMetricSpecification, ProtocolMarshaller protocolMarshaller) {

        if (customizedScalingMetricSpecification == null) {
            throw new SdkClientException("Invalid argument passed to marshall(...)");
        }

        try {
            protocolMarshaller.marshall(customizedScalingMetricSpecification.getMetricName(), METRICNAME_BINDING);
            protocolMarshaller.marshall(customizedScalingMetricSpecification.getNamespace(), NAMESPACE_BINDING);
            protocolMarshaller.marshall(customizedScalingMetricSpecification.getDimensions(), DIMENSIONS_BINDING);
            protocolMarshaller.marshall(customizedScalingMetricSpecification.getStatistic(), STATISTIC_BINDING);
            protocolMarshaller.marshall(customizedScalingMetricSpecification.getUnit(), UNIT_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( CustomizedScalingMetricSpecification customizedScalingMetricSpecification , ProtocolMarshaller protocolMarshaller ) { if ( customizedScalingMetricSpecification == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( customizedScalingMetricSpecification . getMetricName ( ) , METRICNAME_BINDING ) ; protocolMarshaller . marshall ( customizedScalingMetricSpecification . getNamespace ( ) , NAMESPACE_BINDING ) ; protocolMarshaller . marshall ( customizedScalingMetricSpecification . getDimensions ( ) , DIMENSIONS_BINDING ) ; protocolMarshaller . marshall ( customizedScalingMetricSpecification . getStatistic ( ) , STATISTIC_BINDING ) ; protocolMarshaller . marshall ( customizedScalingMetricSpecification . getUnit ( ) , UNIT_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.