public final class ManagementEventAggregationCondition extends Object
| Constructor and Description |
|---|
ManagementEventAggregationCondition() |
| Modifier and Type | Method and Description |
|---|---|
ConditionOperator |
operator()
Get the operator property: the condition operator.
|
Double |
threshold()
Get the threshold property: The threshold value that activates the alert.
|
void |
validate()
Validates the instance.
|
Duration |
windowSize()
Get the windowSize property: the period of time (in ISO 8601 duration format) that is used to monitor alert
activity based on the threshold.
|
ManagementEventAggregationCondition |
withOperator(ConditionOperator operator)
Set the operator property: the condition operator.
|
ManagementEventAggregationCondition |
withThreshold(Double threshold)
Set the threshold property: The threshold value that activates the alert.
|
ManagementEventAggregationCondition |
withWindowSize(Duration windowSize)
Set the windowSize property: the period of time (in ISO 8601 duration format) that is used to monitor alert
activity based on the threshold.
|
public ConditionOperator operator()
public ManagementEventAggregationCondition withOperator(ConditionOperator operator)
operator - the operator value to set.public Double threshold()
public ManagementEventAggregationCondition withThreshold(Double threshold)
threshold - the threshold value to set.public Duration windowSize()
public ManagementEventAggregationCondition withWindowSize(Duration windowSize)
windowSize - the windowSize value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.