public class ManagementEventAggregationCondition extends Object
Constructor and Description |
---|
ManagementEventAggregationCondition() |
Modifier and Type | Method and Description |
---|---|
ConditionOperator |
operator()
Get the condition operator.
|
Double |
threshold()
Get the threshold value that activates the alert.
|
org.joda.time.Period |
windowSize()
Get 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 condition operator.
|
ManagementEventAggregationCondition |
withThreshold(Double threshold)
Set the threshold value that activates the alert.
|
ManagementEventAggregationCondition |
withWindowSize(org.joda.time.Period windowSize)
Set 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 setpublic Double threshold()
public ManagementEventAggregationCondition withThreshold(Double threshold)
threshold
- the threshold value to setpublic org.joda.time.Period windowSize()
public ManagementEventAggregationCondition withWindowSize(org.joda.time.Period windowSize)
windowSize
- the windowSize value to setCopyright © 2019. All rights reserved.