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.AdvancedSftpEndpointBuilder
advanced()
default SftpEndpointBuilderFactory.SftpEndpointBuilder
binary(boolean binary)
Specifies the file transfer mode, BINARY or ASCII.default SftpEndpointBuilderFactory.SftpEndpointBuilder
binary(String binary)
Specifies the file transfer mode, BINARY or ASCII.default SftpEndpointBuilderFactory.SftpEndpointBuilder
charset(String charset)
This option is used to specify the encoding of the file.default SftpEndpointBuilderFactory.SftpEndpointBuilder
ciphers(String ciphers)
Set a comma separated list of ciphers that will be used in order of preference.default SftpEndpointBuilderFactory.SftpEndpointBuilder
disconnect(boolean disconnect)
Whether or not to disconnect from remote FTP server right after use.default SftpEndpointBuilderFactory.SftpEndpointBuilder
disconnect(String disconnect)
Whether or not to disconnect from remote FTP server right after use.default SftpEndpointBuilderFactory.SftpEndpointBuilder
doneFileName(String doneFileName)
Producer: If provided, then Camel will write a 2nd done file when the original file has been written.default SftpEndpointBuilderFactory.SftpEndpointBuilder
fileName(String fileName)
Use Expression such as File Language to dynamically set the filename.default SftpEndpointBuilderFactory.SftpEndpointBuilder
fileName(org.apache.camel.Expression fileName)
Use Expression such as File Language to dynamically set the filename.default SftpEndpointBuilderFactory.SftpEndpointBuilder
jschLoggingLevel(String jschLoggingLevel)
The logging level to use for JSCH activity logging.default SftpEndpointBuilderFactory.SftpEndpointBuilder
jschLoggingLevel(org.apache.camel.LoggingLevel jschLoggingLevel)
The logging level to use for JSCH activity logging.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.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.default SftpEndpointBuilderFactory.SftpEndpointBuilder
knownHosts(Byte[] knownHosts)
Sets the known_hosts from the byte array, so that the SFTP endpoint can do host key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilder
knownHosts(String knownHosts)
Sets the known_hosts from the byte array, so that the SFTP endpoint can do host key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilder
knownHostsFile(String knownHostsFile)
Sets the known_hosts file, so that the SFTP endpoint can do host key verification.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.default SftpEndpointBuilderFactory.SftpEndpointBuilder
passiveMode(boolean passiveMode)
Sets passive mode connections.default SftpEndpointBuilderFactory.SftpEndpointBuilder
passiveMode(String passiveMode)
Sets passive mode connections.default SftpEndpointBuilderFactory.SftpEndpointBuilder
password(String password)
Password to use for login.default SftpEndpointBuilderFactory.SftpEndpointBuilder
preferredAuthentications(String preferredAuthentications)
Set the preferred authentications which SFTP endpoint will used.default SftpEndpointBuilderFactory.SftpEndpointBuilder
privateKey(Byte[] privateKey)
Set the private key as byte so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilder
privateKey(String privateKey)
Set the private key as byte so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilder
privateKeyFile(String privateKeyFile)
Set the private key file so that the SFTP endpoint can do private key verification.default SftpEndpointBuilderFactory.SftpEndpointBuilder
privateKeyPassphrase(String privateKeyPassphrase)
Set the private key file passphrase so that the SFTP endpoint can do private key verification.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.default SftpEndpointBuilderFactory.SftpEndpointBuilder
separator(String separator)
Sets the path separator to be used.default SftpEndpointBuilderFactory.SftpEndpointBuilder
separator(SftpEndpointBuilderFactory.PathSeparator separator)
Sets the path separator to be used.default SftpEndpointBuilderFactory.SftpEndpointBuilder
strictHostKeyChecking(String strictHostKeyChecking)
Sets whether to use strict host key checking.default SftpEndpointBuilderFactory.SftpEndpointBuilder
username(String username)
Username to use for login.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.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.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, 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, exclusiveReadLockStrategy, exclusiveReadLockStrategy, filter, filter, filterDirectory, filterDirectory, filterFile, filterFile, greedy, greedy, idempotent, idempotent, idempotentKey, idempotentKey, idempotentRepository, idempotentRepository, include, initialDelay, initialDelay, maxDepth, maxDepth, maxMessagesPerPoll, maxMessagesPerPoll, minDepth, minDepth, move, move, moveFailed, moveFailed, noop, noop, preMove, 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, 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, moveExisting, tempFileName, tempFileName, tempPrefix
-
-
-
-
Method Detail
-
advanced
default SftpEndpointBuilderFactory.AdvancedSftpEndpointBuilder advanced()
- Specified by:
advanced
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
advanced
in 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:boolean
type. Default: false Group: common- Specified by:
binary
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
binary
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 aboolean
type. Default: false Group: common- Specified by:
binary
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
binary
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: common- Specified by:
charset
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
charset
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:boolean
type. Default: false Group: common- Specified by:
disconnect
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
disconnect
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 aboolean
type. Default: false Group: common- Specified by:
disconnect
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
disconnect
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: common- Specified by:
doneFileName
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
doneFileName
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
fileName
default SftpEndpointBuilderFactory.SftpEndpointBuilder fileName(org.apache.camel.Expression 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:org.apache.camel.Expression
type. Group: common- Specified by:
fileName
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
fileName
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 will be converted to aorg.apache.camel.Expression
type. Group: common- Specified by:
fileName
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
fileName
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:org.apache.camel.LoggingLevel
type. Default: WARN Group: common- Specified by:
jschLoggingLevel
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
jschLoggingLevel
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 aorg.apache.camel.LoggingLevel
type. Default: WARN Group: common- Specified by:
jschLoggingLevel
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
jschLoggingLevel
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
passiveMode
default SftpEndpointBuilderFactory.SftpEndpointBuilder passiveMode(boolean passiveMode)
Sets passive mode connections. Default is active mode connections. The option is a:boolean
type. Default: false Group: common- Specified by:
passiveMode
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
passiveMode
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
passiveMode
default SftpEndpointBuilderFactory.SftpEndpointBuilder passiveMode(String passiveMode)
Sets passive mode connections. Default is active mode connections. The option will be converted to aboolean
type. Default: false Group: common- Specified by:
passiveMode
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
passiveMode
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
separator
default SftpEndpointBuilderFactory.SftpEndpointBuilder separator(SftpEndpointBuilderFactory.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:org.apache.camel.component.file.remote.RemoteFileConfiguration$PathSeparator
type. Default: UNIX Group: common- Specified by:
separator
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
separator
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 aorg.apache.camel.component.file.remote.RemoteFileConfiguration$PathSeparator
type. Default: UNIX Group: common- Specified by:
separator
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
separator
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
ciphers
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
ciphers
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.security.KeyPair
type. Group: security- Specified by:
keyPair
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
keyPair
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 ajava.security.KeyPair
type. Group: security- Specified by:
keyPair
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
keyPair
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:byte[]
type. Group: security- Specified by:
knownHosts
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
knownHosts
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 abyte[]
type. Group: security- Specified by:
knownHosts
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
knownHosts
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
knownHostsFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
knownHostsFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
knownHostsUri
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
knownHostsUri
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
password
default SftpEndpointBuilderFactory.SftpEndpointBuilder password(String password)
Password to use for login. The option is a:java.lang.String
type. Group: security- Specified by:
password
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
password
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
preferredAuthentications
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
preferredAuthentications
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:byte[]
type. Group: security- Specified by:
privateKey
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
privateKey
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 abyte[]
type. Group: security- Specified by:
privateKey
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
privateKey
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
privateKeyFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
privateKeyFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
privateKeyPassphrase
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
privateKeyPassphrase
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:java.lang.String
type. Group: security- Specified by:
privateKeyUri
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
privateKeyUri
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
strictHostKeyChecking
default SftpEndpointBuilderFactory.SftpEndpointBuilder strictHostKeyChecking(String strictHostKeyChecking)
Sets whether to use strict host key checking. The option is a:java.lang.String
type. Default: no Group: security- Specified by:
strictHostKeyChecking
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
strictHostKeyChecking
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
username
default SftpEndpointBuilderFactory.SftpEndpointBuilder username(String username)
Username to use for login. The option is a:java.lang.String
type. Group: security- Specified by:
username
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
username
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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:boolean
type. Default: true Group: security- Specified by:
useUserKnownHostsFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
useUserKnownHostsFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
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 aboolean
type. Default: true Group: security- Specified by:
useUserKnownHostsFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointConsumerBuilder
- Specified by:
useUserKnownHostsFile
in interfaceSftpEndpointBuilderFactory.SftpEndpointProducerBuilder
-
-