Class DatadogMonitorResourceUpdateParameters
java.lang.Object
com.azure.resourcemanager.datadog.models.DatadogMonitorResourceUpdateParameters
The parameters for a PATCH request to a monitor resource.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DatadogMonitorResourceUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the properties property: The set of properties that can be update in a PATCH request to a monitor resource.sku()
Get the sku property: The sku property.tags()
Get the tags property: The new tags of the monitor resource.void
validate()
Validates the instance.withProperties
(MonitorUpdateProperties properties) Set the properties property: The set of properties that can be update in a PATCH request to a monitor resource.withSku
(ResourceSku sku) Set the sku property: The sku property.Set the tags property: The new tags of the monitor resource.
-
Constructor Details
-
DatadogMonitorResourceUpdateParameters
public DatadogMonitorResourceUpdateParameters()Creates an instance of DatadogMonitorResourceUpdateParameters class.
-
-
Method Details
-
properties
Get the properties property: The set of properties that can be update in a PATCH request to a monitor resource.- Returns:
- the properties value.
-
withProperties
Set the properties property: The set of properties that can be update in a PATCH request to a monitor resource.- Parameters:
properties
- the properties value to set.- Returns:
- the DatadogMonitorResourceUpdateParameters object itself.
-
tags
Get the tags property: The new tags of the monitor resource.- Returns:
- the tags value.
-
withTags
Set the tags property: The new tags of the monitor resource.- Parameters:
tags
- the tags value to set.- Returns:
- the DatadogMonitorResourceUpdateParameters object itself.
-
sku
Get the sku property: The sku property.- Returns:
- the sku value.
-
withSku
Set the sku property: The sku property.- Parameters:
sku
- the sku value to set.- Returns:
- the DatadogMonitorResourceUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-