Class DatadogMonitorResourceUpdateParameters

java.lang.Object
com.azure.resourcemanager.datadog.models.DatadogMonitorResourceUpdateParameters

public final class DatadogMonitorResourceUpdateParameters extends Object
The parameters for a PATCH request to a monitor resource.
  • Constructor Details

    • DatadogMonitorResourceUpdateParameters

      public DatadogMonitorResourceUpdateParameters()
      Creates an instance of DatadogMonitorResourceUpdateParameters class.
  • Method Details

    • properties

      public MonitorUpdateProperties 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

      public Map<String,String> 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

      public ResourceSku 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.