Class FtpMonitorConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.apmsynthetics.model.FtpMonitorConfiguration.Builder
-
- Enclosing class:
- FtpMonitorConfiguration
public static class FtpMonitorConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
isFailureRetried
public FtpMonitorConfiguration.Builder isFailureRetried(Boolean isFailureRetried)
-
dnsConfiguration
public FtpMonitorConfiguration.Builder dnsConfiguration(DnsConfiguration dnsConfiguration)
-
ftpProtocol
public FtpMonitorConfiguration.Builder ftpProtocol(FtpProtocol ftpProtocol)
FTP protocol type.- Parameters:
ftpProtocol
- the value to set- Returns:
- this builder
-
ftpRequestType
public FtpMonitorConfiguration.Builder ftpRequestType(FtpRequestType ftpRequestType)
FTP monitor request type.- Parameters:
ftpRequestType
- the value to set- Returns:
- this builder
-
isActiveMode
public FtpMonitorConfiguration.Builder isActiveMode(Boolean isActiveMode)
If enabled, Active mode will be used for the FTP connection.Not supported for SFTP protocol.
- Parameters:
isActiveMode
- the value to set- Returns:
- this builder
-
ftpBasicAuthenticationDetails
public FtpMonitorConfiguration.Builder ftpBasicAuthenticationDetails(BasicAuthenticationDetails ftpBasicAuthenticationDetails)
-
downloadSizeLimitInBytes
public FtpMonitorConfiguration.Builder downloadSizeLimitInBytes(Integer downloadSizeLimitInBytes)
Download size limit in Bytes, at which to stop the transfer.Maximum download size limit is 5 MiB.
- Parameters:
downloadSizeLimitInBytes
- the value to set- Returns:
- this builder
-
uploadFileSizeInBytes
public FtpMonitorConfiguration.Builder uploadFileSizeInBytes(Integer uploadFileSizeInBytes)
File upload size in Bytes, at which to stop the transfer.Maximum upload size is 5 MiB.
- Parameters:
uploadFileSizeInBytes
- the value to set- Returns:
- this builder
-
networkConfiguration
public FtpMonitorConfiguration.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
-
verifyResponseCodes
public FtpMonitorConfiguration.Builder verifyResponseCodes(List<String> verifyResponseCodes)
Expected FTP response codes.For status code range, set values such as 2xx, 3xx.
- Parameters:
verifyResponseCodes
- the value to set- Returns:
- this builder
-
verifyResponseContent
public 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.
- Parameters:
verifyResponseContent
- the value to set- Returns:
- this builder
-
build
public FtpMonitorConfiguration build()
-
copy
public FtpMonitorConfiguration.Builder copy(FtpMonitorConfiguration model)
-
-