public final class ConnectionMonitorSuccessThreshold extends Object
| Constructor and Description |
|---|
ConnectionMonitorSuccessThreshold() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
checksFailedPercent()
Get the checksFailedPercent property: The maximum percentage of failed checks permitted for a test to evaluate as
successful.
|
Float |
roundTripTimeMs()
Get the roundTripTimeMs property: The maximum round-trip time in milliseconds permitted for a test to evaluate as
successful.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorSuccessThreshold |
withChecksFailedPercent(Integer checksFailedPercent)
Set the checksFailedPercent property: The maximum percentage of failed checks permitted for a test to evaluate as
successful.
|
ConnectionMonitorSuccessThreshold |
withRoundTripTimeMs(Float roundTripTimeMs)
Set the roundTripTimeMs property: The maximum round-trip time in milliseconds permitted for a test to evaluate as
successful.
|
public Integer checksFailedPercent()
public ConnectionMonitorSuccessThreshold withChecksFailedPercent(Integer checksFailedPercent)
checksFailedPercent - the checksFailedPercent value to set.public Float roundTripTimeMs()
public ConnectionMonitorSuccessThreshold withRoundTripTimeMs(Float roundTripTimeMs)
roundTripTimeMs - the roundTripTimeMs value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.