Class MonitorConfigExpectedStatusCodeRangesItem

java.lang.Object
com.azure.resourcemanager.trafficmanager.models.MonitorConfigExpectedStatusCodeRangesItem

public final class MonitorConfigExpectedStatusCodeRangesItem extends Object
Min and max value of a status code range.
  • Constructor Details

    • MonitorConfigExpectedStatusCodeRangesItem

      public MonitorConfigExpectedStatusCodeRangesItem()
  • Method Details

    • min

      public Integer min()
      Get the min property: Min status code.
      Returns:
      the min value.
    • withMin

      Set the min property: Min status code.
      Parameters:
      min - the min value to set.
      Returns:
      the MonitorConfigExpectedStatusCodeRangesItem object itself.
    • max

      public Integer max()
      Get the max property: Max status code.
      Returns:
      the max value.
    • withMax

      Set the max property: Max status code.
      Parameters:
      max - the max value to set.
      Returns:
      the MonitorConfigExpectedStatusCodeRangesItem object itself.
    • validate

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