Class MonitorConfigExpectedStatusCodeRangesItem
java.lang.Object
com.azure.resourcemanager.trafficmanager.models.MonitorConfigExpectedStatusCodeRangesItem
Min and max value of a status code range.
-
Constructor Details
-
MonitorConfigExpectedStatusCodeRangesItem
public MonitorConfigExpectedStatusCodeRangesItem()
-
-
Method Details
-
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
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.
-