public void marshall(Malware malware, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(malware.getName(), NAME_BINDING);
            protocolMarshaller.marshall(malware.getType(), TYPE_BINDING);
            protocolMarshaller.marshall(malware.getPath(), PATH_BINDING);
            protocolMarshaller.marshall(malware.getState(), STATE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( Malware malware , ProtocolMarshaller protocolMarshaller ) { if ( malware == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( malware . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( malware . getType ( ) , TYPE_BINDING ) ; protocolMarshaller . marshall ( malware . getPath ( ) , PATH_BINDING ) ; protocolMarshaller . marshall ( malware . getState ( ) , STATE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.