Class LoadBalancingSettingsUpdateParameters

java.lang.Object
com.azure.resourcemanager.frontdoor.models.LoadBalancingSettingsUpdateParameters
Direct Known Subclasses:
LoadBalancingSettingsProperties

public class LoadBalancingSettingsUpdateParameters extends Object
Round-Robin load balancing settings for a backend pool.
  • Constructor Details

    • LoadBalancingSettingsUpdateParameters

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

    • sampleSize

      public Integer sampleSize()
      Get the sampleSize property: The number of samples to consider for load balancing decisions.
      Returns:
      the sampleSize value.
    • withSampleSize

      public LoadBalancingSettingsUpdateParameters 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 LoadBalancingSettingsUpdateParameters 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 LoadBalancingSettingsUpdateParameters 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 LoadBalancingSettingsUpdateParameters 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 LoadBalancingSettingsUpdateParameters 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 LoadBalancingSettingsUpdateParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.