Class TagRuleInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.dynatrace.fluent.models.TagRuleInner
public final class TagRuleInner
extends com.azure.core.management.ProxyResource
Tag rules for a monitor resource.
-
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.com.azure.core.management.SystemData
Get the systemData property: System metadata for this 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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
TagRuleInner
public TagRuleInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: System metadata for this resource.- Returns:
- the systemData value.
-
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 TagRuleInner 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 TagRuleInner 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.
-