Class LoadBalancingSettingsUpdateParameters
java.lang.Object
com.azure.resourcemanager.frontdoor.models.LoadBalancingSettingsUpdateParameters
- Direct Known Subclasses:
LoadBalancingSettingsProperties
Round-Robin load balancing settings for a backend pool.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LoadBalancingSettingsUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.Get the sampleSize property: The number of samples to consider for load balancing decisions.Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.void
validate()
Validates the instance.withAdditionalLatencyMilliseconds
(Integer additionalLatencyMilliseconds) Set the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.withSampleSize
(Integer sampleSize) Set the sampleSize property: The number of samples to consider for load balancing decisions.withSuccessfulSamplesRequired
(Integer successfulSamplesRequired) Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.
-
Constructor Details
-
LoadBalancingSettingsUpdateParameters
public LoadBalancingSettingsUpdateParameters()Creates an instance of LoadBalancingSettingsUpdateParameters class.
-
-
Method Details
-
sampleSize
Get the sampleSize property: The number of samples to consider for load balancing decisions.- Returns:
- the sampleSize value.
-
withSampleSize
Set the sampleSize property: The number of samples to consider for load balancing decisions.- Parameters:
sampleSize
- the sampleSize value to set.- Returns:
- the LoadBalancingSettingsUpdateParameters object itself.
-
successfulSamplesRequired
Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.- Returns:
- the successfulSamplesRequired value.
-
withSuccessfulSamplesRequired
public LoadBalancingSettingsUpdateParameters withSuccessfulSamplesRequired(Integer successfulSamplesRequired) Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.- Parameters:
successfulSamplesRequired
- the successfulSamplesRequired value to set.- Returns:
- the LoadBalancingSettingsUpdateParameters object itself.
-
additionalLatencyMilliseconds
Get the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.- Returns:
- the additionalLatencyMilliseconds value.
-
withAdditionalLatencyMilliseconds
public LoadBalancingSettingsUpdateParameters withAdditionalLatencyMilliseconds(Integer additionalLatencyMilliseconds) Set the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.- Parameters:
additionalLatencyMilliseconds
- the additionalLatencyMilliseconds value to set.- Returns:
- the LoadBalancingSettingsUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-