Class ConnectionMonitorSuccessThreshold

java.lang.Object
com.microsoft.azure.management.network.ConnectionMonitorSuccessThreshold

public class ConnectionMonitorSuccessThreshold extends Object
Describes the threshold for declaring a test successful.
  • Constructor Details

    • ConnectionMonitorSuccessThreshold

      public ConnectionMonitorSuccessThreshold()
  • Method Details

    • checksFailedPercent

      public Integer checksFailedPercent()
      Get the maximum percentage of failed checks permitted for a test to evaluate as successful.
      Returns:
      the checksFailedPercent value
    • withChecksFailedPercent

      public ConnectionMonitorSuccessThreshold withChecksFailedPercent(Integer checksFailedPercent)
      Set the maximum percentage of failed checks permitted for a test to evaluate as successful.
      Parameters:
      checksFailedPercent - the checksFailedPercent value to set
      Returns:
      the ConnectionMonitorSuccessThreshold object itself.
    • roundTripTimeMs

      public Integer roundTripTimeMs()
      Get the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
      Returns:
      the roundTripTimeMs value
    • withRoundTripTimeMs

      public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Integer roundTripTimeMs)
      Set the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
      Parameters:
      roundTripTimeMs - the roundTripTimeMs value to set
      Returns:
      the ConnectionMonitorSuccessThreshold object itself.