Class MonitoringTagRulesProperties
java.lang.Object
com.azure.resourcemanager.dynatrace.fluent.models.MonitoringTagRulesProperties
Properties for the Tag rules resource of a Monitor account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlogRules()
Get the logRules property: Set of rules for sending logs for the Monitor resource.Get the metricRules property: Set of rules for sending metrics for the Monitor resource.Get the provisioningState property: Provisioning state of the resource.void
validate()
Validates the instance.withLogRules
(LogRules logRules) Set the logRules property: Set of rules for sending logs for the Monitor resource.withMetricRules
(MetricRules metricRules) Set the metricRules property: Set of rules for sending metrics for the Monitor resource.
-
Constructor Details
-
MonitoringTagRulesProperties
public MonitoringTagRulesProperties()
-
-
Method Details
-
logRules
Get the logRules property: Set of rules for sending logs for the Monitor resource.- Returns:
- the logRules value.
-
withLogRules
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
Get the metricRules property: Set of rules for sending metrics for the Monitor resource.- Returns:
- the metricRules value.
-
withMetricRules
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.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-