Class MonitoringTagRulesProperties

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

public final class MonitoringTagRulesProperties extends Object
Definition of the properties for a TagRules resource.
  • Constructor Details

    • MonitoringTagRulesProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState value.
    • logRules

      public LogRules logRules()
      Get the logRules property: Set of rules for sending logs for the Monitor resource.
      Returns:
      the logRules value.
    • withLogRules

      public MonitoringTagRulesProperties withLogRules(LogRules logRules)
      Set the logRules property: Set of rules for sending logs for the Monitor resource.
      Parameters:
      logRules - the logRules value to set.
      Returns:
      the MonitoringTagRulesProperties object itself.
    • metricRules

      public MetricRules metricRules()
      Get the metricRules property: Set of rules for sending metrics for the Monitor resource.
      Returns:
      the metricRules value.
    • withMetricRules

      public MonitoringTagRulesProperties withMetricRules(MetricRules metricRules)
      Set the metricRules property: Set of rules for sending metrics for the Monitor resource.
      Parameters:
      metricRules - the metricRules value to set.
      Returns:
      the MonitoringTagRulesProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.