public void marshall(RedshiftSettings redshiftSettings, ProtocolMarshaller protocolMarshaller) {

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

        try {
            protocolMarshaller.marshall(redshiftSettings.getAcceptAnyDate(), ACCEPTANYDATE_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getAfterConnectScript(), AFTERCONNECTSCRIPT_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getBucketFolder(), BUCKETFOLDER_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getBucketName(), BUCKETNAME_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getConnectionTimeout(), CONNECTIONTIMEOUT_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getDatabaseName(), DATABASENAME_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getDateFormat(), DATEFORMAT_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getEmptyAsNull(), EMPTYASNULL_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getEncryptionMode(), ENCRYPTIONMODE_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getFileTransferUploadStreams(), FILETRANSFERUPLOADSTREAMS_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getLoadTimeout(), LOADTIMEOUT_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getMaxFileSize(), MAXFILESIZE_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getPassword(), PASSWORD_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getPort(), PORT_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getRemoveQuotes(), REMOVEQUOTES_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getReplaceInvalidChars(), REPLACEINVALIDCHARS_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getReplaceChars(), REPLACECHARS_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getServerName(), SERVERNAME_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getServiceAccessRoleArn(), SERVICEACCESSROLEARN_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getServerSideEncryptionKmsKeyId(), SERVERSIDEENCRYPTIONKMSKEYID_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getTimeFormat(), TIMEFORMAT_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getTrimBlanks(), TRIMBLANKS_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getTruncateColumns(), TRUNCATECOLUMNS_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getUsername(), USERNAME_BINDING);
            protocolMarshaller.marshall(redshiftSettings.getWriteBufferSize(), WRITEBUFFERSIZE_BINDING);
        } catch (Exception e) {
            throw new SdkClientException("Unable to marshall request to JSON: " + e.getMessage(), e);
        }
    }
public void marshall ( RedshiftSettings redshiftSettings , ProtocolMarshaller protocolMarshaller ) { if ( redshiftSettings == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { protocolMarshaller . marshall ( redshiftSettings . getAcceptAnyDate ( ) , ACCEPTANYDATE_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getAfterConnectScript ( ) , AFTERCONNECTSCRIPT_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getBucketFolder ( ) , BUCKETFOLDER_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getBucketName ( ) , BUCKETNAME_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getConnectionTimeout ( ) , CONNECTIONTIMEOUT_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getDatabaseName ( ) , DATABASENAME_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getDateFormat ( ) , DATEFORMAT_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getEmptyAsNull ( ) , EMPTYASNULL_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getEncryptionMode ( ) , ENCRYPTIONMODE_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getFileTransferUploadStreams ( ) , FILETRANSFERUPLOADSTREAMS_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getLoadTimeout ( ) , LOADTIMEOUT_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getMaxFileSize ( ) , MAXFILESIZE_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getPassword ( ) , PASSWORD_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getPort ( ) , PORT_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getRemoveQuotes ( ) , REMOVEQUOTES_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getReplaceInvalidChars ( ) , REPLACEINVALIDCHARS_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getReplaceChars ( ) , REPLACECHARS_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getServerName ( ) , SERVERNAME_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getServiceAccessRoleArn ( ) , SERVICEACCESSROLEARN_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getServerSideEncryptionKmsKeyId ( ) , SERVERSIDEENCRYPTIONKMSKEYID_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getTimeFormat ( ) , TIMEFORMAT_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getTrimBlanks ( ) , TRIMBLANKS_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getTruncateColumns ( ) , TRUNCATECOLUMNS_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getUsername ( ) , USERNAME_BINDING ) ; protocolMarshaller . marshall ( redshiftSettings . getWriteBufferSize ( ) , WRITEBUFFERSIZE_BINDING ) ; } catch ( Exception e ) { throw new SdkClientException ( "Unable to marshall request to JSON: " + e . getMessage ( ) , e ) ; } }
Marshall the given parameter object.