LoadBalancingSettingsModel Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. frontdoor. models. LoadBalancingSettingsModel
- com.
- com.
public final class LoadBalancingSettingsModel
extends SubResource
Load balancing settings for a backend pool.
Constructor Summary
Constructor | Description |
---|---|
LoadBalancingSettingsModel() |
Creates an instance of Load |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
additionalLatencyMilliseconds()
Get the additional |
String |
name()
Get the name property: Resource name. |
Front |
resourceState()
Get the resource |
Integer |
sampleSize()
Get the sample |
Integer |
successfulSamplesRequired()
Get the successful |
String |
type()
Get the type property: Resource type. |
void |
validate()
Validates the instance. |
Load |
withAdditionalLatencyMilliseconds(Integer additionalLatencyMilliseconds)
Set the additional |
Load |
withId(String id) |
Load |
withName(String name)
Set the name property: Resource name. |
Load |
withSampleSize(Integer sampleSize)
Set the sample |
Load |
withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
Set the successful |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
LoadBalancingSettingsModel
public LoadBalancingSettingsModel()
Creates an instance of LoadBalancingSettingsModel class.
Method Details
additionalLatencyMilliseconds
public Integer additionalLatencyMilliseconds()
Get the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.
Returns:
name
public String name()
Get the name property: Resource name.
Returns:
resourceState
public FrontDoorResourceState resourceState()
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.
Resource status.
Returns:
sampleSize
public Integer sampleSize()
Get the sampleSize property: The number of samples to consider for load balancing decisions.
Returns:
successfulSamplesRequired
public Integer successfulSamplesRequired()
Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.
Returns:
type
public String type()
Get the type property: Resource type.
Returns:
validate
public void validate()
Validates the instance.
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:
Returns:
withId
public LoadBalancingSettingsModel withId(String id)
Overrides:
LoadBalancingSettingsModel.withId(String id)Parameters:
withName
public LoadBalancingSettingsModel withName(String name)
Set the name property: Resource name.
Parameters:
Returns:
withSampleSize
public LoadBalancingSettingsModel withSampleSize(Integer sampleSize)
Set the sampleSize property: The number of samples to consider for load balancing decisions.
Parameters:
Returns:
withSuccessfulSamplesRequired
public LoadBalancingSettingsModel withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.
Parameters:
Returns:
Applies to
Azure SDK for Java