public void marshall(ListContainerInstancesRequest listContainerInstancesRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(listContainerInstancesRequest.getCluster(), CLUSTER_BINDING);
            protocolMarshaller.marshall(listContainerInstancesRequest.getFilter(), FILTER_BINDING);
            protocolMarshaller.marshall(listContainerInstancesRequest.getNextToken(), NEXTTOKEN_BINDING);
            protocolMarshaller.marshall(listContainerInstancesRequest.getMaxResults(), MAXRESULTS_BINDING);
            protocolMarshaller.marshall(listContainerInstancesRequest.getStatus(), STATUS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( ListContainerInstancesRequest listContainerInstancesRequest , ProtocolMarshaller protocolMarshaller ) { if ( listContainerInstancesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( listContainerInstancesRequest . getCluster ( ) , CLUSTER_BINDING ) ; protocolMarshaller . marshall ( listContainerInstancesRequest . getFilter ( ) , FILTER_BINDING ) ; protocolMarshaller . marshall ( listContainerInstancesRequest . getNextToken ( ) , NEXTTOKEN_BINDING ) ; protocolMarshaller . marshall ( listContainerInstancesRequest . getMaxResults ( ) , MAXRESULTS_BINDING ) ; protocolMarshaller . marshall ( listContainerInstancesRequest . getStatus ( ) , STATUS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.