LoadBalancingSettingsModel Class

public final class LoadBalancingSettingsModel
extends SubResource

Load balancing settings for a backend pool.

Constructor Summary

Constructor Description
LoadBalancingSettingsModel()

Creates an instance of LoadBalancingSettingsModel class.

Method Summary

Modifier and Type Method and Description
Integer additionalLatencyMilliseconds()

Get the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.

String name()

Get the name property: Resource name.

FrontDoorResourceState resourceState()

Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

Integer sampleSize()

Get the sampleSize property: The number of samples to consider for load balancing decisions.

Integer successfulSamplesRequired()

Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.

String type()

Get the type property: Resource type.

void validate()

Validates the instance.

LoadBalancingSettingsModel withAdditionalLatencyMilliseconds(Integer additionalLatencyMilliseconds)

Set the additionalLatencyMilliseconds property: The additional latency in milliseconds for probes to fall into the lowest latency bucket.

LoadBalancingSettingsModel withId(String id)
LoadBalancingSettingsModel withName(String name)

Set the name property: Resource name.

LoadBalancingSettingsModel withSampleSize(Integer sampleSize)

Set the sampleSize property: The number of samples to consider for load balancing decisions.

LoadBalancingSettingsModel withSuccessfulSamplesRequired(Integer successfulSamplesRequired)

Set the successfulSamplesRequired property: The number of samples within the sample period that must succeed.

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:

the additionalLatencyMilliseconds value.

name

public String name()

Get the name property: Resource name.

Returns:

the name value.

resourceState

public FrontDoorResourceState resourceState()

Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

Resource status.

Returns:

the resourceState value.

sampleSize

public Integer sampleSize()

Get the sampleSize property: The number of samples to consider for load balancing decisions.

Returns:

the sampleSize value.

successfulSamplesRequired

public Integer successfulSamplesRequired()

Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.

Returns:

the successfulSamplesRequired value.

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

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:

additionalLatencyMilliseconds - the additionalLatencyMilliseconds value to set.

Returns:

the LoadBalancingSettingsModel object itself.

withId

public LoadBalancingSettingsModel withId(String id)

Overrides:

LoadBalancingSettingsModel.withId(String id)

Parameters:

id

withName

public LoadBalancingSettingsModel withName(String name)

Set the name property: Resource name.

Parameters:

name - the name value to set.

Returns:

the LoadBalancingSettingsModel object itself.

withSampleSize

public LoadBalancingSettingsModel withSampleSize(Integer sampleSize)

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.

withSuccessfulSamplesRequired

public LoadBalancingSettingsModel 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 LoadBalancingSettingsModel object itself.

Applies to