Interface SftpEndpointBuilderFactory.SftpEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,SftpEndpointBuilderFactory.SftpEndpointConsumerBuilder,SftpEndpointBuilderFactory.SftpEndpointProducerBuilder
- Enclosing interface:
- SftpEndpointBuilderFactory
public static interface SftpEndpointBuilderFactory.SftpEndpointBuilder extends SftpEndpointBuilderFactory.SftpEndpointConsumerBuilder, SftpEndpointBuilderFactory.SftpEndpointProducerBuilder
Builder for endpoint for the SFTP component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SftpEndpointBuilderFactory.AdvancedSftpEndpointBuilderadvanced()default SftpEndpointBuilderFactory.SftpEndpointBuilderbinary(boolean binary)Specifies the file transfer mode, BINARY or ASCII.default SftpEndpointBuilderFactory.SftpEndpointBuilderbinary(String binary)Specifies the file transfer mode, BINARY or ASCII.default SftpEndpointBuilderFactory.SftpEndpointBuildercharset(String charset)This option is used to specify the encoding of the file.default SftpEndpointBuilderFactory.SftpEndpointBuilderciphers(String ciphers)Set a comma separated list of ciphers that will be used in order of preference.default SftpEndpointBuilderFactory.SftpEndpointBuilderdisconnect(boolean disconnect)Whether or not to disconnect from remote FTP server right after use.default SftpEndpointBuilderFactory.SftpEndpointBuilderdisconnect(String disconnect)Whether or not to disconnect from remote FTP server right after use.default SftpEndpointBuilderFactory.SftpEndpointBuilderdoneFileName(String doneFileName)Producer: If provided, then Camel will write a 2nd done file when the original file has been written.default SftpEndpointBuilderFactory.SftpEndpointBuilderfileName(String fileName)Use Expression such as File Language to dynamically set the filename.default SftpEndpointBuilderFactory.SftpEndpointBuilderjschLoggingLevel(String jschLoggingLevel)The logging level to use for JSCH activity logging.default SftpEndpointBuilderFactory.SftpEndpointBuilderjschLoggingLevel(org.apache.camel.LoggingLevel jschLoggingLevel)The logging level to use for JSCH activity logging.default SftpEndpointBuilderFactory.SftpEndpointBuilderkeyExchangeProtocols(String keyExchangeProtocols)Set a comma separated list of key exchange protocols that will be used in order of preference.default SftpEndpointBuilderFactory.SftpEndpointBuilderkeyPair(String keyPair)Sets a key pair of the public and private key so to that the SFTP endpoint can do public/private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderkeyPair(KeyPair keyPair)Sets a key pair of the public and private key so to that the SFTP endpoint can do public/private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderknownHosts(byte[] knownHosts)Sets the known_hosts from the byte array, so that the SFTP endpoint can do host key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderknownHosts(String knownHosts)Sets the known_hosts from the byte array, so that the SFTP endpoint can do host key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderknownHostsFile(String knownHostsFile)Sets the known_hosts file, so that the SFTP endpoint can do host key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderknownHostsUri(String knownHostsUri)Sets the known_hosts file (loaded from classpath by default), so that the SFTP endpoint can do host key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderpassiveMode(boolean passiveMode)Sets passive mode connections.default SftpEndpointBuilderFactory.SftpEndpointBuilderpassiveMode(String passiveMode)Sets passive mode connections.default SftpEndpointBuilderFactory.SftpEndpointBuilderpassword(String password)Password to use for login.default SftpEndpointBuilderFactory.SftpEndpointBuilderpreferredAuthentications(String preferredAuthentications)Set the preferred authentications which SFTP endpoint will used.default SftpEndpointBuilderFactory.SftpEndpointBuilderprivateKey(byte[] privateKey)Set the private key as byte so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderprivateKey(String privateKey)Set the private key as byte so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderprivateKeyFile(String privateKeyFile)Set the private key file so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderprivateKeyPassphrase(String privateKeyPassphrase)Set the private key file passphrase so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderprivateKeyUri(String privateKeyUri)Set the private key file (loaded from classpath by default) so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilderseparator(String separator)Sets the path separator to be used.default SftpEndpointBuilderFactory.SftpEndpointBuilderseparator(org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator separator)Sets the path separator to be used.default SftpEndpointBuilderFactory.SftpEndpointBuilderstrictHostKeyChecking(String strictHostKeyChecking)Sets whether to use strict host key checking.default SftpEndpointBuilderFactory.SftpEndpointBuilderusername(String username)Username to use for login.default SftpEndpointBuilderFactory.SftpEndpointBuilderuseUserKnownHostsFile(boolean useUserKnownHostsFile)If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts.default SftpEndpointBuilderFactory.SftpEndpointBuilderuseUserKnownHostsFile(String useUserKnownHostsFile)If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
antExclude, antFilterCaseSensitive, antFilterCaseSensitive, antInclude, backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, bridgeErrorHandler, bridgeErrorHandler, delay, delay, delete, delete, eagerMaxMessagesPerPoll, eagerMaxMessagesPerPoll, exclude, excludeExt, exclusiveReadLockStrategy, exclusiveReadLockStrategy, filter, filter, filterDirectory, filterFile, greedy, greedy, idempotent, idempotent, idempotentKey, idempotentRepository, idempotentRepository, include, includeExt, initialDelay, initialDelay, maxDepth, maxDepth, maxMessagesPerPoll, maxMessagesPerPoll, minDepth, minDepth, move, moveFailed, noop, noop, preMove, preSort, preSort, readLock, readLockCheckInterval, readLockCheckInterval, readLockDeleteOrphanLockFiles, readLockDeleteOrphanLockFiles, readLockIdempotentReleaseAsync, readLockIdempotentReleaseAsync, readLockIdempotentReleaseAsyncPoolSize, readLockIdempotentReleaseAsyncPoolSize, readLockIdempotentReleaseDelay, readLockIdempotentReleaseDelay, readLockIdempotentReleaseExecutorService, readLockIdempotentReleaseExecutorService, readLockLoggingLevel, readLockLoggingLevel, readLockMarkerFile, readLockMarkerFile, readLockMinAge, readLockMinAge, readLockMinLength, readLockMinLength, readLockRemoveOnCommit, readLockRemoveOnCommit, readLockRemoveOnRollback, readLockRemoveOnRollback, readLockTimeout, readLockTimeout, recursive, recursive, repeatCount, repeatCount, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, shuffle, shuffle, sortBy, sorter, sorter, startScheduler, startScheduler, streamDownload, streamDownload, timeUnit, timeUnit, useFixedDelay, useFixedDelay
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.SftpEndpointBuilderFactory.SftpEndpointProducerBuilder
fileExist, fileExist, flatten, flatten, jailStartingDirectory, jailStartingDirectory, lazyStartProducer, lazyStartProducer, moveExisting, tempFileName, tempPrefix
-
-
-
-
Method Detail
-
advanced
default SftpEndpointBuilderFactory.AdvancedSftpEndpointBuilder advanced()
- Specified by:
advancedin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
advancedin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
binary
default SftpEndpointBuilderFactory.SftpEndpointBuilder binary(boolean binary)
Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
binaryin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
binaryin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
binary- the value to set- Returns:
- the dsl builder
-
binary
default SftpEndpointBuilderFactory.SftpEndpointBuilder binary(String binary)
Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
binaryin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
binaryin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
binary- the value to set- Returns:
- the dsl builder
-
charset
default SftpEndpointBuilderFactory.SftpEndpointBuilder charset(String charset)
This option is used to specify the encoding of the file. You can use this on the consumer, to specify the encodings of the files, which allow Camel to know the charset it should load the file content in case the file content is being accessed. Likewise when writing a file, you can use this option to specify which charset to write the file as well. Do mind that when writing the file Camel may have to read the message content into memory to be able to convert the data into the configured charset, so do not use this if you have big messages. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
charsetin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
charsetin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
charset- the value to set- Returns:
- the dsl builder
-
disconnect
default SftpEndpointBuilderFactory.SftpEndpointBuilder disconnect(boolean disconnect)
Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
disconnectin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
disconnectin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
disconnect- the value to set- Returns:
- the dsl builder
-
disconnect
default SftpEndpointBuilderFactory.SftpEndpointBuilder disconnect(String disconnect)
Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
disconnectin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
disconnectin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
disconnect- the value to set- Returns:
- the dsl builder
-
doneFileName
default SftpEndpointBuilderFactory.SftpEndpointBuilder doneFileName(String doneFileName)
Producer: If provided, then Camel will write a 2nd done file when the original file has been written. The done file will be empty. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders. The done file will always be written in the same folder as the original file. Consumer: If provided, Camel will only consume files if a done file exists. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders.The done file is always expected in the same folder as the original file. Only ${file.name} and ${file.name.next} is supported as dynamic placeholders. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
doneFileNamein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
doneFileNamein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
doneFileName- the value to set- Returns:
- the dsl builder
-
fileName
default SftpEndpointBuilderFactory.SftpEndpointBuilder fileName(String fileName)
Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFileName header. (Note: The header itself can also be an Expression). The expression options support both String and Expression types. If the expression is a String type, it is always evaluated using the File Language. If the expression is an Expression type, the specified Expression type is used - this allows you, for instance, to use OGNL expressions. For the consumer, you can use it to filter filenames, so you can for instance consume today's file using the File Language syntax: mydata-${date:now:yyyyMMdd}.txt. The producers support the CamelOverruleFileName header which takes precedence over any existing CamelFileName header; the CamelOverruleFileName is a header that is used only once, and makes it easier as this avoids to temporary store CamelFileName and have to restore it afterwards. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
fileNamein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
fileNamein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
fileName- the value to set- Returns:
- the dsl builder
-
jschLoggingLevel
default SftpEndpointBuilderFactory.SftpEndpointBuilder jschLoggingLevel(org.apache.camel.LoggingLevel jschLoggingLevel)
The logging level to use for JSCH activity logging. As JSCH is verbose at by default at INFO level the threshold is WARN by default. The option is a: <code>org.apache.camel.LoggingLevel</code> type. Default: WARN Group: common- Specified by:
jschLoggingLevelin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
jschLoggingLevelin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
jschLoggingLevel- the value to set- Returns:
- the dsl builder
-
jschLoggingLevel
default SftpEndpointBuilderFactory.SftpEndpointBuilder jschLoggingLevel(String jschLoggingLevel)
The logging level to use for JSCH activity logging. As JSCH is verbose at by default at INFO level the threshold is WARN by default. The option will be converted to a <code>org.apache.camel.LoggingLevel</code> type. Default: WARN Group: common- Specified by:
jschLoggingLevelin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
jschLoggingLevelin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
jschLoggingLevel- the value to set- Returns:
- the dsl builder
-
passiveMode
default SftpEndpointBuilderFactory.SftpEndpointBuilder passiveMode(boolean passiveMode)
Sets passive mode connections. Default is active mode connections. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
passiveModein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
passiveModein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
passiveMode- the value to set- Returns:
- the dsl builder
-
passiveMode
default SftpEndpointBuilderFactory.SftpEndpointBuilder passiveMode(String passiveMode)
Sets passive mode connections. Default is active mode connections. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Specified by:
passiveModein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
passiveModein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
passiveMode- the value to set- Returns:
- the dsl builder
-
separator
default SftpEndpointBuilderFactory.SftpEndpointBuilder separator(org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator separator)
Sets the path separator to be used. UNIX = Uses unix style path separator Windows = Uses windows style path separator Auto = (is default) Use existing path separator in file name. The option is a: <code>org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator</code> type. Default: UNIX Group: common- Specified by:
separatorin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
separatorin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
separator- the value to set- Returns:
- the dsl builder
-
separator
default SftpEndpointBuilderFactory.SftpEndpointBuilder separator(String separator)
Sets the path separator to be used. UNIX = Uses unix style path separator Windows = Uses windows style path separator Auto = (is default) Use existing path separator in file name. The option will be converted to a <code>org.apache.camel.component.file.remote.RemoteFileConfiguration.PathSeparator</code> type. Default: UNIX Group: common- Specified by:
separatorin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
separatorin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
separator- the value to set- Returns:
- the dsl builder
-
ciphers
default SftpEndpointBuilderFactory.SftpEndpointBuilder ciphers(String ciphers)
Set a comma separated list of ciphers that will be used in order of preference. Possible cipher names are defined by JCraft JSCH. Some examples include: aes128-ctr,aes128-cbc,3des-ctr,3des-cbc,blowfish-cbc,aes192-cbc,aes256-cbc. If not specified the default list from JSCH will be used. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
ciphersin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
ciphersin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
ciphers- the value to set- Returns:
- the dsl builder
-
keyExchangeProtocols
default SftpEndpointBuilderFactory.SftpEndpointBuilder keyExchangeProtocols(String keyExchangeProtocols)
Set a comma separated list of key exchange protocols that will be used in order of preference. Possible cipher names are defined by JCraft JSCH. Some examples include: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1,diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521. If not specified the default list from JSCH will be used. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
keyExchangeProtocolsin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
keyExchangeProtocolsin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
keyExchangeProtocols- the value to set- Returns:
- the dsl builder
-
keyPair
default SftpEndpointBuilderFactory.SftpEndpointBuilder keyPair(KeyPair keyPair)
Sets a key pair of the public and private key so to that the SFTP endpoint can do public/private key verification. The option is a: <code>java.security.KeyPair</code> type. Group: security- Specified by:
keyPairin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
keyPairin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
keyPair- the value to set- Returns:
- the dsl builder
-
keyPair
default SftpEndpointBuilderFactory.SftpEndpointBuilder keyPair(String keyPair)
Sets a key pair of the public and private key so to that the SFTP endpoint can do public/private key verification. The option will be converted to a <code>java.security.KeyPair</code> type. Group: security- Specified by:
keyPairin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
keyPairin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
keyPair- the value to set- Returns:
- the dsl builder
-
knownHosts
default SftpEndpointBuilderFactory.SftpEndpointBuilder knownHosts(byte[] knownHosts)
Sets the known_hosts from the byte array, so that the SFTP endpoint can do host key verification. The option is a: <code>byte[]</code> type. Group: security- Specified by:
knownHostsin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
knownHostsin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
knownHosts- the value to set- Returns:
- the dsl builder
-
knownHosts
default SftpEndpointBuilderFactory.SftpEndpointBuilder knownHosts(String knownHosts)
Sets the known_hosts from the byte array, so that the SFTP endpoint can do host key verification. The option will be converted to a <code>byte[]</code> type. Group: security- Specified by:
knownHostsin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
knownHostsin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
knownHosts- the value to set- Returns:
- the dsl builder
-
knownHostsFile
default SftpEndpointBuilderFactory.SftpEndpointBuilder knownHostsFile(String knownHostsFile)
Sets the known_hosts file, so that the SFTP endpoint can do host key verification. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
knownHostsFilein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
knownHostsFilein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
knownHostsFile- the value to set- Returns:
- the dsl builder
-
knownHostsUri
default SftpEndpointBuilderFactory.SftpEndpointBuilder knownHostsUri(String knownHostsUri)
Sets the known_hosts file (loaded from classpath by default), so that the SFTP endpoint can do host key verification. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
knownHostsUriin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
knownHostsUriin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
knownHostsUri- the value to set- Returns:
- the dsl builder
-
password
default SftpEndpointBuilderFactory.SftpEndpointBuilder password(String password)
Password to use for login. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
passwordin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
passwordin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
password- the value to set- Returns:
- the dsl builder
-
preferredAuthentications
default SftpEndpointBuilderFactory.SftpEndpointBuilder preferredAuthentications(String preferredAuthentications)
Set the preferred authentications which SFTP endpoint will used. Some example include:password,publickey. If not specified the default list from JSCH will be used. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
preferredAuthenticationsin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
preferredAuthenticationsin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
preferredAuthentications- the value to set- Returns:
- the dsl builder
-
privateKey
default SftpEndpointBuilderFactory.SftpEndpointBuilder privateKey(byte[] privateKey)
Set the private key as byte so that the SFTP endpoint can do private key verification. The option is a: <code>byte[]</code> type. Group: security- Specified by:
privateKeyin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
privateKeyin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
privateKey- the value to set- Returns:
- the dsl builder
-
privateKey
default SftpEndpointBuilderFactory.SftpEndpointBuilder privateKey(String privateKey)
Set the private key as byte so that the SFTP endpoint can do private key verification. The option will be converted to a <code>byte[]</code> type. Group: security- Specified by:
privateKeyin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
privateKeyin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
privateKey- the value to set- Returns:
- the dsl builder
-
privateKeyFile
default SftpEndpointBuilderFactory.SftpEndpointBuilder privateKeyFile(String privateKeyFile)
Set the private key file so that the SFTP endpoint can do private key verification. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
privateKeyFilein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
privateKeyFilein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
privateKeyFile- the value to set- Returns:
- the dsl builder
-
privateKeyPassphrase
default SftpEndpointBuilderFactory.SftpEndpointBuilder privateKeyPassphrase(String privateKeyPassphrase)
Set the private key file passphrase so that the SFTP endpoint can do private key verification. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
privateKeyPassphrasein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
privateKeyPassphrasein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
privateKeyPassphrase- the value to set- Returns:
- the dsl builder
-
privateKeyUri
default SftpEndpointBuilderFactory.SftpEndpointBuilder privateKeyUri(String privateKeyUri)
Set the private key file (loaded from classpath by default) so that the SFTP endpoint can do private key verification. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
privateKeyUriin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
privateKeyUriin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
privateKeyUri- the value to set- Returns:
- the dsl builder
-
strictHostKeyChecking
default SftpEndpointBuilderFactory.SftpEndpointBuilder strictHostKeyChecking(String strictHostKeyChecking)
Sets whether to use strict host key checking. The option is a: <code>java.lang.String</code> type. Default: no Group: security- Specified by:
strictHostKeyCheckingin interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
strictHostKeyCheckingin interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
strictHostKeyChecking- the value to set- Returns:
- the dsl builder
-
username
default SftpEndpointBuilderFactory.SftpEndpointBuilder username(String username)
Username to use for login. The option is a: <code>java.lang.String</code> type. Group: security- Specified by:
usernamein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
usernamein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
username- the value to set- Returns:
- the dsl builder
-
useUserKnownHostsFile
default SftpEndpointBuilderFactory.SftpEndpointBuilder useUserKnownHostsFile(boolean useUserKnownHostsFile)
If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. The option is a: <code>boolean</code> type. Default: true Group: security- Specified by:
useUserKnownHostsFilein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
useUserKnownHostsFilein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
useUserKnownHostsFile- the value to set- Returns:
- the dsl builder
-
useUserKnownHostsFile
default SftpEndpointBuilderFactory.SftpEndpointBuilder useUserKnownHostsFile(String useUserKnownHostsFile)
If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. The option will be converted to a <code>boolean</code> type. Default: true Group: security- Specified by:
useUserKnownHostsFilein interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder- Specified by:
useUserKnownHostsFilein interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder- Parameters:
useUserKnownHostsFile- the value to set- Returns:
- the dsl builder
-
-