Class LoadBalancingSettingsParameters
java.lang.Object
com.microsoft.azure.management.cdn.LoadBalancingSettingsParameters
Round-Robin load balancing settings for a backend pool.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additional latency in milliseconds for probes to fall into the lowest latency bucket.Get the number of samples to consider for load balancing decisions.Get the number of samples within the sample period that must succeed.withAdditionalLatencyInMilliseconds
(Integer additionalLatencyInMilliseconds) Set the additional latency in milliseconds for probes to fall into the lowest latency bucket.withSampleSize
(Integer sampleSize) Set the number of samples to consider for load balancing decisions.withSuccessfulSamplesRequired
(Integer successfulSamplesRequired) Set the number of samples within the sample period that must succeed.
-
Constructor Details
-
LoadBalancingSettingsParameters
public LoadBalancingSettingsParameters()
-
-
Method Details
-
sampleSize
Get the number of samples to consider for load balancing decisions.- Returns:
- the sampleSize value
-
withSampleSize
Set the number of samples to consider for load balancing decisions.- Parameters:
sampleSize
- the sampleSize value to set- Returns:
- the LoadBalancingSettingsParameters object itself.
-
successfulSamplesRequired
Get the number of samples within the sample period that must succeed.- Returns:
- the successfulSamplesRequired value
-
withSuccessfulSamplesRequired
public LoadBalancingSettingsParameters withSuccessfulSamplesRequired(Integer successfulSamplesRequired) Set the number of samples within the sample period that must succeed.- Parameters:
successfulSamplesRequired
- the successfulSamplesRequired value to set- Returns:
- the LoadBalancingSettingsParameters object itself.
-
additionalLatencyInMilliseconds
Get the additional latency in milliseconds for probes to fall into the lowest latency bucket.- Returns:
- the additionalLatencyInMilliseconds value
-
withAdditionalLatencyInMilliseconds
public LoadBalancingSettingsParameters withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds) Set the additional latency in milliseconds for probes to fall into the lowest latency bucket.- Parameters:
additionalLatencyInMilliseconds
- the additionalLatencyInMilliseconds value to set- Returns:
- the LoadBalancingSettingsParameters object itself.
-