public void marshall(RunTaskRequest runTaskRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(runTaskRequest.getCluster(), CLUSTER_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getTaskDefinition(), TASKDEFINITION_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getOverrides(), OVERRIDES_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getCount(), COUNT_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getStartedBy(), STARTEDBY_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getGroup(), GROUP_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getPlacementConstraints(), PLACEMENTCONSTRAINTS_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getPlacementStrategy(), PLACEMENTSTRATEGY_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getLaunchType(), LAUNCHTYPE_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getPlatformVersion(), PLATFORMVERSION_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getNetworkConfiguration(), NETWORKCONFIGURATION_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getTags(), TAGS_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getEnableECSManagedTags(), ENABLEECSMANAGEDTAGS_BINDING);
            protocolMarshaller.marshall(runTaskRequest.getPropagateTags(), PROPAGATETAGS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( RunTaskRequest runTaskRequest , ProtocolMarshaller protocolMarshaller ) { if ( runTaskRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( runTaskRequest . getCluster ( ) , CLUSTER_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getTaskDefinition ( ) , TASKDEFINITION_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getOverrides ( ) , OVERRIDES_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getCount ( ) , COUNT_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getStartedBy ( ) , STARTEDBY_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getGroup ( ) , GROUP_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getPlacementConstraints ( ) , PLACEMENTCONSTRAINTS_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getPlacementStrategy ( ) , PLACEMENTSTRATEGY_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getLaunchType ( ) , LAUNCHTYPE_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getPlatformVersion ( ) , PLATFORMVERSION_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getNetworkConfiguration ( ) , NETWORKCONFIGURATION_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getTags ( ) , TAGS_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getEnableECSManagedTags ( ) , ENABLEECSMANAGEDTAGS_BINDING ) ; protocolMarshaller . marshall ( runTaskRequest . getPropagateTags ( ) , PROPAGATETAGS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.