public final class MonitorConfigExpectedStatusCodeRangesItem extends Object
| Constructor and Description |
|---|
MonitorConfigExpectedStatusCodeRangesItem() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
max()
Get the max property: Max status code.
|
Integer |
min()
Get the min property: Min status code.
|
void |
validate()
Validates the instance.
|
MonitorConfigExpectedStatusCodeRangesItem |
withMax(Integer max)
Set the max property: Max status code.
|
MonitorConfigExpectedStatusCodeRangesItem |
withMin(Integer min)
Set the min property: Min status code.
|
public MonitorConfigExpectedStatusCodeRangesItem()
public Integer min()
public MonitorConfigExpectedStatusCodeRangesItem withMin(Integer min)
min - the min value to set.public Integer max()
public MonitorConfigExpectedStatusCodeRangesItem withMax(Integer max)
max - the max value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.