Class ConnectionMonitorSuccessThreshold
java.lang.Object
com.microsoft.azure.management.network.ConnectionMonitorSuccessThreshold
Describes the threshold for declaring a test successful.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the maximum percentage of failed checks permitted for a test to evaluate as successful.Get the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.withChecksFailedPercent
(Integer checksFailedPercent) Set the maximum percentage of failed checks permitted for a test to evaluate as successful.withRoundTripTimeMs
(Integer roundTripTimeMs) Set the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
-
Constructor Details
-
ConnectionMonitorSuccessThreshold
public ConnectionMonitorSuccessThreshold()
-
-
Method Details
-
checksFailedPercent
Get the maximum percentage of failed checks permitted for a test to evaluate as successful.- Returns:
- the checksFailedPercent value
-
withChecksFailedPercent
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
Get the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.- Returns:
- the roundTripTimeMs value
-
withRoundTripTimeMs
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.
-