ConnectionMonitorSuccessThreshold Class

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

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.

ConnectionMonitorSuccessThreshold withChecksFailedPercent(Integer checksFailedPercent)

Set the maximum percentage of failed checks permitted for a test to evaluate as successful.

ConnectionMonitorSuccessThreshold 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

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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

roundTripTimeMs

public Integer roundTripTimeMs()

Get the maximum round-trip time in milliseconds permitted for a test to evaluate as successful.

Returns:

the roundTripTimeMs 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.

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.

Applies to