public void marshall(UpdateDatabaseRequest updateDatabaseRequest, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(updateDatabaseRequest.getCatalogId(), CATALOGID_BINDING);
            protocolMarshaller.marshall(updateDatabaseRequest.getName(), NAME_BINDING);
            protocolMarshaller.marshall(updateDatabaseRequest.getDatabaseInput(), DATABASEINPUT_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( UpdateDatabaseRequest updateDatabaseRequest , ProtocolMarshaller protocolMarshaller ) { if ( updateDatabaseRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( updateDatabaseRequest . getCatalogId ( ) , CATALOGID_BINDING ) ; protocolMarshaller . marshall ( updateDatabaseRequest . getName ( ) , NAME_BINDING ) ; protocolMarshaller . marshall ( updateDatabaseRequest . getDatabaseInput ( ) , DATABASEINPUT_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.