public static class FtpMonitorConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
public FtpMonitorConfiguration.Builder isFailureRetried(Boolean isFailureRetried)
public FtpMonitorConfiguration.Builder dnsConfiguration(DnsConfiguration dnsConfiguration)
public FtpMonitorConfiguration.Builder ftpProtocol(FtpProtocol ftpProtocol)
FTP protocol type.
ftpProtocol
- the value to setpublic FtpMonitorConfiguration.Builder ftpRequestType(FtpRequestType ftpRequestType)
FTP monitor request type.
ftpRequestType
- the value to setpublic FtpMonitorConfiguration.Builder isActiveMode(Boolean isActiveMode)
If enabled, Active mode will be used for the FTP connection.
isActiveMode
- the value to setpublic FtpMonitorConfiguration.Builder ftpBasicAuthenticationDetails(BasicAuthenticationDetails ftpBasicAuthenticationDetails)
public FtpMonitorConfiguration.Builder downloadSizeLimitInBytes(Integer downloadSizeLimitInBytes)
Download size limit in Bytes, at which to stop the transfer. Maximum download size limit is 5 MiB.
downloadSizeLimitInBytes
- the value to setpublic FtpMonitorConfiguration.Builder uploadFileSizeInBytes(Integer uploadFileSizeInBytes)
File upload size in Bytes, at which to stop the transfer. Maximum upload size is 5 MiB.
uploadFileSizeInBytes
- the value to setpublic FtpMonitorConfiguration.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
public FtpMonitorConfiguration.Builder verifyResponseCodes(List<String> verifyResponseCodes)
Expected FTP response codes. For status code range, set values such as 2xx, 3xx.
verifyResponseCodes
- the value to setpublic FtpMonitorConfiguration.Builder verifyResponseContent(String verifyResponseContent)
Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure.
verifyResponseContent
- the value to setpublic FtpMonitorConfiguration build()
public FtpMonitorConfiguration.Builder copy(FtpMonitorConfiguration model)
Copyright © 2016–2024. All rights reserved.