Class MonitorUpdateProperties
java.lang.Object
com.azure.resourcemanager.datadog.models.MonitorUpdateProperties
The set of properties that can be update in a PATCH request to a monitor resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of MonitorUpdateProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.void
validate()
Validates the instance.withMonitoringStatus
(MonitoringStatus monitoringStatus) Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.
-
Constructor Details
-
MonitorUpdateProperties
public MonitorUpdateProperties()Creates an instance of MonitorUpdateProperties class.
-
-
Method Details
-
monitoringStatus
Get the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.- Returns:
- the monitoringStatus value.
-
withMonitoringStatus
Set the monitoringStatus property: Flag specifying if the resource monitoring is enabled or disabled.- Parameters:
monitoringStatus
- the monitoringStatus value to set.- Returns:
- the MonitorUpdateProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-