ConnectionMonitorSuccessThreshold Class
- java.
lang. Object - com.
microsoft. azure. management. network. ConnectionMonitorSuccessThreshold
- com.
public class ConnectionMonitorSuccessThreshold
Describes the threshold for declaring a test successful.
Constructor Summary
Constructor | Description | |
---|---|---|
ConnectionMonitorSuccessThreshold() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
checksFailedPercent()
Get the maximum percentage of failed checks permitted for a test to evaluate as successful. |
java.lang.Integer |
roundTripTimeMs()
Get the maximum round-trip time in milliseconds permitted for a test to evaluate as successful. |
Connection |
withChecksFailedPercent(Integer checksFailedPercent)
Set the maximum percentage of failed checks permitted for a test to evaluate as successful. |
Connection |
withRoundTripTimeMs(Integer roundTripTimeMs)
Set the maximum round-trip time in milliseconds permitted for a test to evaluate as successful. |
Methods inherited from java.lang.Object
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:
roundTripTimeMs
public Integer roundTripTimeMs()
Get the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
Returns:
withChecksFailedPercent
public ConnectionMonitorSuccessThreshold withChecksFailedPercent(Integer checksFailedPercent)
Set the maximum percentage of failed checks permitted for a test to evaluate as successful.
Parameters:
Returns:
withRoundTripTimeMs
public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Integer roundTripTimeMs)
Set the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.
Parameters:
Returns:
Applies to
Azure SDK for Java