LoadBalancingSettingsParameters Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. LoadBalancingSettingsParameters
- com.
Implements
public final class LoadBalancingSettingsParameters
implements JsonSerializable<LoadBalancingSettingsParameters>
Round-Robin load balancing settings for a backend pool.
Constructor Summary
| Constructor | Description |
|---|---|
| LoadBalancingSettingsParameters() |
Creates an instance of Load |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Integer |
additionalLatencyInMilliseconds()
Get the additional |
|
static
Load |
fromJson(JsonReader jsonReader)
Reads an instance of Load |
| Integer |
sampleSize()
Get the sample |
| Integer |
successfulSamplesRequired()
Get the successful |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Load |
withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)
Set the additional |
|
Load |
withSampleSize(Integer sampleSize)
Set the sample |
|
Load |
withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
Set the successful |
Methods inherited from java.lang.Object
Constructor Details
LoadBalancingSettingsParameters
public LoadBalancingSettingsParameters()
Creates an instance of LoadBalancingSettingsParameters class.
Method Details
additionalLatencyInMilliseconds
public Integer additionalLatencyInMilliseconds()
Get the additionalLatencyInMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.
Returns:
fromJson
public static LoadBalancingSettingsParameters fromJson(JsonReader jsonReader)
Reads an instance of LoadBalancingSettingsParameters from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalLatencyInMilliseconds
public LoadBalancingSettingsParameters withAdditionalLatencyInMilliseconds(Integer additionalLatencyInMilliseconds)
Set the additionalLatencyInMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.
Parameters:
Returns:
withSampleSize
public LoadBalancingSettingsParameters withSampleSize(Integer sampleSize)
Set the sampleSize property: The number of samples to consider for load balancing decisions.
Parameters:
Returns:
withSuccessfulSamplesRequired
public LoadBalancingSettingsParameters withSuccessfulSamplesRequired(Integer successfulSamplesRequired)
Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.
Parameters:
Returns: