public void marshall(AutoScalingThresholds autoScalingThresholds, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(autoScalingThresholds.getInstanceCount(), INSTANCECOUNT_BINDING);
            protocolMarshaller.marshall(autoScalingThresholds.getThresholdsWaitTime(), THRESHOLDSWAITTIME_BINDING);
            protocolMarshaller.marshall(autoScalingThresholds.getIgnoreMetricsTime(), IGNOREMETRICSTIME_BINDING);
            protocolMarshaller.marshall(autoScalingThresholds.getCpuThreshold(), CPUTHRESHOLD_BINDING);
            protocolMarshaller.marshall(autoScalingThresholds.getMemoryThreshold(), MEMORYTHRESHOLD_BINDING);
            protocolMarshaller.marshall(autoScalingThresholds.getLoadThreshold(), LOADTHRESHOLD_BINDING);
            protocolMarshaller.marshall(autoScalingThresholds.getAlarms(), ALARMS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( AutoScalingThresholds autoScalingThresholds , ProtocolMarshaller protocolMarshaller ) { if ( autoScalingThresholds == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( autoScalingThresholds . getInstanceCount ( ) , INSTANCECOUNT_BINDING ) ; protocolMarshaller . marshall ( autoScalingThresholds . getThresholdsWaitTime ( ) , THRESHOLDSWAITTIME_BINDING ) ; protocolMarshaller . marshall ( autoScalingThresholds . getIgnoreMetricsTime ( ) , IGNOREMETRICSTIME_BINDING ) ; protocolMarshaller . marshall ( autoScalingThresholds . getCpuThreshold ( ) , CPUTHRESHOLD_BINDING ) ; protocolMarshaller . marshall ( autoScalingThresholds . getMemoryThreshold ( ) , MEMORYTHRESHOLD_BINDING ) ; protocolMarshaller . marshall ( autoScalingThresholds . getLoadThreshold ( ) , LOADTHRESHOLD_BINDING ) ; protocolMarshaller . marshall ( autoScalingThresholds . getAlarms ( ) , ALARMS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.