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 Summary
Constructors Constructor Description MonitorConfigExpectedStatusCodeRangesItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integermax()Get the max property: Max status code.Integermin()Get the min property: Min status code.voidvalidate()Validates the instance.MonitorConfigExpectedStatusCodeRangesItemwithMax(Integer max)Set the max property: Max status code.MonitorConfigExpectedStatusCodeRangesItemwithMin(Integer min)Set the min property: Min status code.
-
-
-
Method Detail
-
min
public Integer min()
Get the min property: Min status code.- Returns:
- the min value.
-
withMin
public MonitorConfigExpectedStatusCodeRangesItem withMin(Integer min)
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
public MonitorConfigExpectedStatusCodeRangesItem withMax(Integer max)
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.
-
-