public final class MonitorUpdateProperties extends Object
Constructor and Description |
---|
MonitorUpdateProperties() |
Modifier and Type | Method and Description |
---|---|
MonitoringStatus |
monitoringStatus()
Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.
|
void |
validate()
Validates the instance.
|
MonitorUpdateProperties |
withMonitoringStatus(MonitoringStatus monitoringStatus)
Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.
|
public MonitoringStatus monitoringStatus()
public MonitorUpdateProperties withMonitoringStatus(MonitoringStatus monitoringStatus)
monitoringStatus
- the monitoringStatus value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.