public void marshall(Step step, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(step.getId(), ID_BINDING);
            protocolMarshaller.marshall(step.getName(), NAME_BINDING);
            protocolMarshaller.marshall(step.getConfig(), CONFIG_BINDING);
            protocolMarshaller.marshall(step.getActionOnFailure(), ACTIONONFAILURE_BINDING);
            protocolMarshaller.marshall(step.getStatus(), STATUS_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( Step step , ProtocolMarshaller protocolMarshaller ) { if ( step == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( step . getId ( ) , ID_BINDING ) ; protocolMarshaller . marshall ( step . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( step . getConfig ( ) , CONFIG_BINDING ) ; protocolMarshaller . marshall ( step . getActionOnFailure ( ) , ACTIONONFAILURE_BINDING ) ; protocolMarshaller . marshall ( step . getStatus ( ) , STATUS_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.