Class LoadBalancingSettingsModel
java.lang.Object
com.azure.core.management.SubResource
com.azure.resourcemanager.frontdoor.models.LoadBalancingSettingsModel
public final class LoadBalancingSettingsModel
extends com.azure.core.management.SubResource
Load balancing settings for a backend pool.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LoadBalancingSettingsModel class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.name()
Get the name property: Resource name.Get the resourceState property: Resource status of the Front Door or Front Door SubResource.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.type()
Get the type property: Resource type.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.Set the name property: Resource name.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.Methods inherited from class com.azure.core.management.SubResource
id
-
Constructor Details
-
LoadBalancingSettingsModel
public LoadBalancingSettingsModel()Creates an instance of LoadBalancingSettingsModel class.
-
-
Method Details
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
withName
Set the name property: Resource name.- Parameters:
name
- the name value to set.- Returns:
- the LoadBalancingSettingsModel object itself.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
withId
- Overrides:
withId
in classcom.azure.core.management.SubResource
-
resourceState
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.Resource status.
- Returns:
- the resourceState value.
-
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 LoadBalancingSettingsModel object itself.
-
successfulSamplesRequired
Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.- Returns:
- the successfulSamplesRequired value.
-
withSuccessfulSamplesRequired
Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.- Parameters:
successfulSamplesRequired
- the successfulSamplesRequired value to set.- Returns:
- the LoadBalancingSettingsModel 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 LoadBalancingSettingsModel 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 LoadBalancingSettingsModel object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-