public void marshall(TargetTrackingScalingPolicyConfiguration targetTrackingScalingPolicyConfiguration, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(targetTrackingScalingPolicyConfiguration.getTargetValue(), TARGETVALUE_BINDING);
            protocolMarshaller.marshall(targetTrackingScalingPolicyConfiguration.getPredefinedMetricSpecification(), PREDEFINEDMETRICSPECIFICATION_BINDING);
            protocolMarshaller.marshall(targetTrackingScalingPolicyConfiguration.getCustomizedMetricSpecification(), CUSTOMIZEDMETRICSPECIFICATION_BINDING);
            protocolMarshaller.marshall(targetTrackingScalingPolicyConfiguration.getScaleOutCooldown(), SCALEOUTCOOLDOWN_BINDING);
            protocolMarshaller.marshall(targetTrackingScalingPolicyConfiguration.getScaleInCooldown(), SCALEINCOOLDOWN_BINDING);
            protocolMarshaller.marshall(targetTrackingScalingPolicyConfiguration.getDisableScaleIn(), DISABLESCALEIN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( TargetTrackingScalingPolicyConfiguration targetTrackingScalingPolicyConfiguration , ProtocolMarshaller protocolMarshaller ) { if ( targetTrackingScalingPolicyConfiguration == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( targetTrackingScalingPolicyConfiguration . getTargetValue ( ) , TARGETVALUE_BINDING ) ; protocolMarshaller . marshall ( targetTrackingScalingPolicyConfiguration . getPredefinedMetricSpecification ( ) , PREDEFINEDMETRICSPECIFICATION_BINDING ) ; protocolMarshaller . marshall ( targetTrackingScalingPolicyConfiguration . getCustomizedMetricSpecification ( ) , CUSTOMIZEDMETRICSPECIFICATION_BINDING ) ; protocolMarshaller . marshall ( targetTrackingScalingPolicyConfiguration . getScaleOutCooldown ( ) , SCALEOUTCOOLDOWN_BINDING ) ; protocolMarshaller . marshall ( targetTrackingScalingPolicyConfiguration . getScaleInCooldown ( ) , SCALEINCOOLDOWN_BINDING ) ; protocolMarshaller . marshall ( targetTrackingScalingPolicyConfiguration . getDisableScaleIn ( ) , DISABLESCALEIN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.