public void marshall(TargetInstances targetInstances, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(targetInstances.getTagFilters(), TAGFILTERS_BINDING);
            protocolMarshaller.marshall(targetInstances.getAutoScalingGroups(), AUTOSCALINGGROUPS_BINDING);
            protocolMarshaller.marshall(targetInstances.getEc2TagSet(), EC2TAGSET_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( TargetInstances targetInstances , ProtocolMarshaller protocolMarshaller ) { if ( targetInstances == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( targetInstances . getTagFilters ( ) , TAGFILTERS_BINDING ) ; protocolMarshaller . marshall ( targetInstances . getAutoScalingGroups ( ) , AUTOSCALINGGROUPS_BINDING ) ; protocolMarshaller . marshall ( targetInstances . getEc2TagSet ( ) , EC2TAGSET_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.