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 Details

    • LoadBalancingSettingsModel

      public LoadBalancingSettingsModel()
      Creates an instance of LoadBalancingSettingsModel class.
  • Method Details

    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • withName

      public LoadBalancingSettingsModel withName(String name)
      Set the name property: Resource name.
      Parameters:
      name - the name value to set.
      Returns:
      the LoadBalancingSettingsModel object itself.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • withId

      public LoadBalancingSettingsModel withId(String id)
      Overrides:
      withId in class com.azure.core.management.SubResource
    • 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.
    • 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.
    • successfulSamplesRequired

      public Integer successfulSamplesRequired()
      Get the successfulSamplesRequired property: The number of samples within the sample period that must succeed.
      Returns:
      the successfulSamplesRequired value.
    • 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.
    • 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.
    • 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.