Class FtpMonitorConfiguration


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20200630")
    public final class FtpMonitorConfiguration
    extends MonitorConfiguration
    Request configuration details for the FTP monitor type.
    Note: Objects should always be created or deserialized using the FtpMonitorConfiguration.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the FtpMonitorConfiguration.Builder, which maintain a set of all explicitly set fields called FtpMonitorConfiguration.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Method Detail

      • getFtpProtocol

        public FtpProtocol getFtpProtocol()
        FTP protocol type.
        Returns:
        the value
      • getFtpRequestType

        public FtpRequestType getFtpRequestType()
        FTP monitor request type.
        Returns:
        the value
      • getIsActiveMode

        public Boolean getIsActiveMode()
        If enabled, Active mode will be used for the FTP connection.

        Not supported for SFTP protocol.

        Returns:
        the value
      • getDownloadSizeLimitInBytes

        public Integer getDownloadSizeLimitInBytes()
        Download size limit in Bytes, at which to stop the transfer.

        Maximum download size limit is 5 MiB.

        Returns:
        the value
      • getUploadFileSizeInBytes

        public Integer getUploadFileSizeInBytes()
        File upload size in Bytes, at which to stop the transfer.

        Maximum upload size is 5 MiB.

        Returns:
        the value
      • getVerifyResponseCodes

        public List<String> getVerifyResponseCodes()
        Expected FTP response codes.

        For status code range, set values such as 2xx, 3xx.

        Returns:
        the value
      • getVerifyResponseContent

        public String getVerifyResponseContent()
        Verify response content against regular expression based string.

        If response content does not match the verifyResponseContent value, then it will be considered a failure.

        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class MonitorConfiguration
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation