public void marshall(Recipes recipes, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(recipes.getSetup(), SETUP_BINDING);
            protocolMarshaller.marshall(recipes.getConfigure(), CONFIGURE_BINDING);
            protocolMarshaller.marshall(recipes.getDeploy(), DEPLOY_BINDING);
            protocolMarshaller.marshall(recipes.getUndeploy(), UNDEPLOY_BINDING);
            protocolMarshaller.marshall(recipes.getShutdown(), SHUTDOWN_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( Recipes recipes , ProtocolMarshaller protocolMarshaller ) { if ( recipes == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( recipes . getSetup ( ) , SETUP_BINDING ) ; protocolMarshaller . marshall ( recipes . getConfigure ( ) , CONFIGURE_BINDING ) ; protocolMarshaller . marshall ( recipes . getDeploy ( ) , DEPLOY_BINDING ) ; protocolMarshaller . marshall ( recipes . getUndeploy ( ) , UNDEPLOY_BINDING ) ; protocolMarshaller . marshall ( recipes . getShutdown ( ) , SHUTDOWN_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.